build for none standard socket

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

build for none standard socket

От:
garry saddington <garry@schoolteachers.co.uk>
Дата:
I have searched and Googled but can't find how to do a ./configure to
use a different socket than /tmp/.s.PGSQL.5432. It says in the manual
that it can be done but then does not say how.
Anyone done this before?
Regards
Garry 

Re: build for none standard socket

От:
Matthias.Pitzl@izb.de
Дата:
Hi!

You can at least configure the socket directory, the socket group and the
socket permissions in your postgresql.conf.

Greetings,
Matthias

> -----Original Message-----
> From: pgsql-general-owner@postgresql.org 
> [mailto:pgsql-general-owner@postgresql.org] On Behalf Of 
> garry saddington
> Sent: Wednesday, November 22, 2006 8:58 AM
> To: Postgres General
> Subject: [GENERAL] build for none standard socket
> 
> 
> I have searched and Googled but can't find how to do a ./configure to
> use a different socket than /tmp/.s.PGSQL.5432. It says in the manual
> that it can be done but then does not say how.
> Anyone done this before?
> Regards
> Garry 
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 6: explain analyze is your friend
> 

Re: build for none standard socket

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
garry saddington  writes:
> I have searched and Googled but can't find how to do a ./configure to
> use a different socket than /tmp/.s.PGSQL.5432. It says in the manual
> that it can be done but then does not say how.

See DEFAULT_PGSOCKET_DIR in src/include/pg_config_manual.h

			regards, tom lane
FAQ