Re: psql question

Поиск
Список
Период
Сортировка
От Command Prompt, Inc.
Тема Re: psql question
Дата
Msg-id Pine.LNX.4.30.0111041042070.19169-100000@commandprompt.com
обсуждение исходный текст
Ответ на psql question  (Jefim Matskin <mjefim@sphera.com>)
Список pgsql-general
On Sun, 4 Nov 2001, Jefim Matskin wrote:
>I have an instance of postgres sql 7.1.2 running with unix socket located in
>other directory than default (-k option of the postmaster).
>How can I tell the psql utility to connect to that socket?

Use the -h flag. When prefixed with a slash, it refers to a local
directory for the socket, rather than a host. E.g.:

[root@dev lxp]# psql -h /tmp template1
Welcome to psql, the PostgreSQL interactive terminal.
[...]


Regards,
Jw.
--
jlx@commandprompt.com
by way of pgsql-general@commandprompt.com


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

Предыдущее
От: elwood@agouros.de (Konstantinos Agouros)
Дата:
Сообщение: One more question about intervals
Следующее
От: "Command Prompt, Inc."
Дата:
Сообщение: Re: One more question about intervals