How to check what is current postgres version

Started by Markova, Ninaover 17 years ago4 messagesgeneral
Jump to latest
#1Markova, Nina
nmarkova@NRCan.gc.ca

Hi,

Is there any way to check the exact current version without issuing
'psql' command?

Say, 8.2.1 or 8.2.9?

Thanks,
Nina

#2Justin
justin@emproshunts.com
In reply to: Markova, Nina (#1)
Re: How to check what is current postgres version

select version()

Markova, Nina wrote:

Show quoted text

Hi,

Is there any way to check the exact current version without issuing
'psql' command?

Say, 8.2.1 or 8.2.9?

Thanks,
Nina

#3Markova, Nina
nmarkova@NRCan.gc.ca
In reply to: Justin (#2)
Re: How to check what is current postgres version

Thanks

________________________________

From: justin [mailto:justin@emproshunts.com]
Sent: September 8, 2008 13:54
To: Markova, Nina
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] How to check what is current postgres version

select version()

Markova, Nina wrote:

Hi,

Is there any way to check the exact current version without
issuing 'psql' command?

Say, 8.2.1 or 8.2.9?

Thanks,
Nina

#4Scott Marlowe
scott.marlowe@gmail.com
In reply to: Markova, Nina (#1)
Re: How to check what is current postgres version

select version(); ??? (Note does NOT require psql, just a connection
you can issue sql over.)

Or were you looking for a way from the command line?

/usr/lib/postgresql/8.3/bin/postgres --version

works for me on centos 5.2

Show quoted text

On Mon, Sep 8, 2008 at 11:40 AM, Markova, Nina <nmarkova@nrcan.gc.ca> wrote:

Hi,

Is there any way to check the exact current version without issuing 'psql'
command?

Say, 8.2.1 or 8.2.9?

Thanks,
Nina