pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Childs <peterachilds@gmail.com>
To: John <lists@johndubchak.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Checking Postgres Version Question
Date: Thu, 28 Aug 2008 15:38:04 +0100
Message-ID: <a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com> (raw)
In-Reply-To: <48B6B551.4010105@johndubchak.com>
References: <48B6B551.4010105@johndubchak.com>

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



view thread (2+ messages)

Message-ID: <a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com>
Permalink:  ../a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com/
Also on:    postgresql.org/message-id/a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: peterachilds@gmail.com, lists@johndubchak.com
  Subject: Re: Checking Postgres Version Question
  In-Reply-To: <a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox