build for none standard socket

Started by Garry Saddingtonover 19 years ago3 messagesgeneral
Jump to latest
#1Garry 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

#2Noname
Matthias.Pitzl@izb.de
In reply to: Garry Saddington (#1)
Re: build for none standard socket

Hi!

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

Greetings,
Matthias

Show quoted text

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

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Garry Saddington (#1)
Re: build for none standard socket

garry saddington <garry@schoolteachers.co.uk> 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