[pgpool-hackers: 1054] Re: Patch for optional disablin unix-sockets

Andrew N Golovkov andor000 at ya.ru
Wed Sep 16 22:14:20 JST 2015


if unix_socket_directories = '' in postgresql.conf, postgres disable listen unix sockets.

Maybe your postgres start from pg_ctlcluster (perl script). He put this parameter in command line:

>    my $usd = $version >= 9.3 ? 'unix_socket_directories' : 'unix_socket_directory';
>    if (!(PgCommon::get_conf_value $version, $cluster, 'postgresql.conf', $usd)) {
>       $postmaster_opts .= "-c $usd=\"$info{'socketdir'}\"";
>    }


16.09.2015, 02:11, "Tatsuo Ishii" <ishii at postgresql.org>:
>>  In some cases we dont really need listen unix sockets.
>
> I don't see why this is a benefit for pgpool-II. PostgreSQL does not
> have that capability neither.
>
> Best regards,
> --
> Tatsuo Ishii
> SRA OSS, Inc. Japan
> English: http://www.sraoss.co.jp/index_en.php
> Japanese:http://www.sraoss.co.jp
> _______________________________________________
> pgpool-hackers mailing list
> pgpool-hackers at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-hackers


More information about the pgpool-hackers mailing list