Re: Change Unix Socket directory at build time

From: Andres Freund <andres(at)anarazel(dot)de>
To: Santiago DIEZ <santiago(dot)diez(at)caoba(dot)fr>
Cc: PostgreSQL LIST <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Change Unix Socket directory at build time
Date: 2017-04-14 16:21:29
Message-ID: 20170414162129.mirqxh3atafs54fi@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Santiago DIEZ 2017-04-14 16:33:28 Re: Change Unix Socket directory at build time
Previous Message Santiago DIEZ 2017-04-14 15:55:39 Change Unix Socket directory at build time