Skip site navigation (1) Skip section navigation (2)

Re: Checking Postgres Version Question

From: "Peter Childs" <peterachilds(at)gmail(dot)com>
To: John <lists(at)johndubchak(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Checking Postgres Version Question
Date: 2008-08-28 14:38:04
Message-ID: a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-admin
2008/8/28 John <lists(at)johndubchak(dot)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(at)postgresql(dot)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

In response to

pgsql-admin by date

Next:From: Brandon DybalaDate: 2008-08-28 14:42:54
Subject: Installing PostgreSQL 8.3.3. on Vista
Previous:From: JohnDate: 2008-08-28 14:25:21
Subject: Checking Postgres Version Question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group