Checking Postgres Version Question

Поиск
Список
Период
Сортировка
Искать

Checking Postgres Version Question

От:
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

Re: Checking Postgres Version Question

От:
"Peter Childs" <peterachilds@gmail.com>
Дата:
2008/8/28 John :
> 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
FAQ