I ran into this the other day and thought it might be worth a quick tip. I had a need to figure out what version of PostgreSQL was running on a server. It turns out you can easily get this information with a quick database query:
SELECT version();
I hope this helps someone.
Top comments (0)