Обсуждение: tcpip_socket=false and psql is working?

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

tcpip_socket=false and psql is working?

От
tatel@euskalnet.net
Дата:
Hi all,

I have compiled 7.4.1 on Debian Woody and found psql is working even if
tcpip_socket is set to false in postgresql.conf

Does anybody know about this or am I on LSD

Thanks,

Roman
(somewhat confused)


Re: tcpip_socket=false and psql is working?

От
Bruce Momjian
Дата:
tatel@euskalnet.net wrote:
> Hi all,
>
> I have compiled 7.4.1 on Debian Woody and found psql is working even if
> tcpip_socket is set to false in postgresql.conf

Sure, it uses unix domain sockets.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: tcpip_socket=false and psql is working?

От
Andrew Sullivan
Дата:
On Thu, May 20, 2004 at 09:00:34PM +0200, tatel@euskalnet.net wrote:
> Hi all,
>
> I have compiled 7.4.1 on Debian Woody and found psql is working even if
> tcpip_socket is set to false in postgresql.conf

Working on the same box?  It's probably using UNIX domain sockets.
Try psql -h 127.0.0.1; if that works, you have a problem.

A

--
Andrew Sullivan  | ajs@crankycanuck.ca