Re: Checking Postgres Version Question - Mailing list pgsql-admin

From Peter Childs
Subject Re: Checking Postgres Version Question
Date
Msg-id a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com
Whole thread Raw
In response to Checking Postgres Version Question  (John <lists@johndubchak.com>)
List pgsql-admin
2008/8/28 John <lists@johndubchak.com>:
> Hi,
>
> Is there a way to check which version of Postgres is installed on a
> particular Linux box without query the RPM database?
>
> For instance, is there a "psql --version" command, or something similar,
> that I can use?
>
> Thanks,
> John
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

select version();

(for the server version)

psql --version

(for the client version)

Peter

pgsql-admin by date:

Previous
From: John
Date:
Subject: Checking Postgres Version Question
Next
From: "Brandon Dybala"
Date:
Subject: Installing PostgreSQL 8.3.3. on Vista