Re: [ADMIN] Change Unix Socket directory at build time - Mailing list pgsql-admin

From Santiago DIEZ
Subject Re: [ADMIN] Change Unix Socket directory at build time
Date
Msg-id CAJh8RqXDbA2P=9jv0cMbaDHQm2vmZX=_2k++jBcVHwOdt-FH2A@mail.gmail.com
Whole thread Raw
In response to Re: [ADMIN] Change Unix Socket directory at build time  (Andres Freund <andres@anarazel.de>)
Responses Re: [ADMIN] Change Unix Socket directory at build time  (Santiago DIEZ <santiago.diez@caoba.fr>)
List pgsql-admin
Fantastic, I have never dug into the .h files when building any
program. That's quite new to me.
Is the # character a comment or not? It seems like all line start with #define

-------------------------
Santiago DIEZ
Quark Systems & CAOBA
23 rue du Buisson Saint-Louis, 75010 Paris
-------------------------

On Fri, Apr 14, 2017 at 6:21 PM, Andres Freund <andres@anarazel.de> wrote:
>
> Hi,
>
> On 2017-04-14 17:55:39 +0200, Santiago DIEZ wrote:
> > I usualy change the unix_socket_directory in the server configuration but
> > I'd like to change it for good at build time. I read everywhere (here
> > <https://www.postgresql.org/docs/current/static/runtime-config-connection.html>
> > for example):
> > "unix_socket_directories (string)
> > The default value is normally /tmp, but that can be changed at build time."
> >
> > Ok good but I've read ./configure --help and I cannot find how to do it.
>
> You need to edit src/include/pg_config_manual.h and adapat DEFAULT_PGSOCKET_DIR
>
> - Andres


pgsql-admin by date:

Previous
From: Andres Freund
Date:
Subject: Re: [ADMIN] Change Unix Socket directory at build time
Next
From: Santiago DIEZ
Date:
Subject: Re: [ADMIN] Change Unix Socket directory at build time