pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Checking Postgres Version Question
2+ messages / 2 participants
[nested] [flat]

* Checking Postgres Version Question
@ 2008-08-28 14:25  John <lists@johndubchak.com>
  0 siblings, 1 reply; 2+ messages in thread

From: John @ 2008-08-28 14:25 UTC (permalink / raw)
  To: pgsql-admin

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Checking Postgres Version Question
@ 2008-08-28 14:38  Peter Childs <peterachilds@gmail.com>
  parent: John <lists@johndubchak.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Childs @ 2008-08-28 14:38 UTC (permalink / raw)
  To: John <lists@johndubchak.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-08-28 14:38 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-08-28 14:25 Checking Postgres Version Question John <lists@johndubchak.com>
2008-08-28 14:38 ` Peter Childs <peterachilds@gmail.com>

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