Re: Checking Postgres Version Question

Поиск
Список
Период
Сортировка
От Peter Childs
Тема Re: Checking Postgres Version Question
Дата
Msg-id a2de01dd0808280738u32f76cffgaf5c740d12fff763@mail.gmail.com
обсуждение исходный текст
Ответ на Checking Postgres Version Question  (John <lists@johndubchak.com>)
Список 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

В списке pgsql-admin по дате отправления:

Предыдущее
От: John
Дата:
Сообщение: Checking Postgres Version Question
Следующее
От: "Brandon Dybala"
Дата:
Сообщение: Installing PostgreSQL 8.3.3. on Vista