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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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