Re: Do we always need the socket file?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Do we always need the socket file?
Дата
Msg-id 200302140138.h1E1c7h07982@candle.pha.pa.us
обсуждение исходный текст
Ответ на Do we always need the socket file?  (Michael Brusser <michael@synchronicity.com>)
Ответы Re: Do we always need the socket file?  (Michael Brusser <michael@synchronicity.com>)
Список pgsql-hackers
Michael Brusser wrote:
> I have Postgres 7.2.1 configured to listen on TCP/IP port.
> When the server starts up it still creates the socket file in /tmp.
> Removing this file manually does not seem to cause any problem for the
> application.
> 
> Is there a way to prevent postmaster from creating this file?
> Is this really safe to remove the socket file, or would it create
> some problem that I won't necessarily see?

I guess the big question is why you don't want the file created?  If you
have 'local' disabled in pg_hba.conf, it doesn't allow connections.

--  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,
Pennsylvania19073
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Someone's broken psql's connection-failure error reporting
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: location of the configuration files