pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Santiago DIEZ <santiago.diez@caoba.fr>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL LIST <pgsql-admin@postgresql.org>
Subject: Re: Change Unix Socket directory at build time
Date: Fri, 14 Apr 2017 13:40:41 -0400
Message-ID: <8473.1492191641@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJh8RqWWwX18B7aLQxeEYrP_NX4+5X+Up6qPY_-gD92FzF4B6w@mail.gmail.com>
References: <CAJh8RqUd+ptvD4tpTDeSpe4ZNJJfwH=cOkgHqN6f_uvFD10Yjg@mail.gmail.com>
	<20170414162129.mirqxh3atafs54fi@alap3.anarazel.de>
	<CAJh8RqXDbA2P=9jv0cMbaDHQm2vmZX=_2k++jBcVHwOdt-FH2A@mail.gmail.com>
	<CAJh8RqVOyPfujFJu6S1rvqjbp5un91fdw78DMJX49crguTNV6A@mail.gmail.com>
	<CAKFQuwaEbkQ9FWUhfCL+veAizDR3xM=Udt0YGL4Bnt-CCH_HDw@mail.gmail.com>
	<CAJh8RqWWwX18B7aLQxeEYrP_NX4+5X+Up6qPY_-gD92FzF4B6w@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

Santiago DIEZ <santiago.diez@caoba.fr> writes:
> no no, if I set -t to 60 seconds (or even 1000), it's the same problem.

David's right though: any reasonably modern version of pg_ctl (since
about 9.1 I believe) gets everything it needs to know out of the
postmaster.pid file.  Compiling in a different default
unix_socket_directory might save some effort when using psql or other
clients, but it should make no difference to pg_ctl.

It might be useful to strace pg_ctl to see what it's doing in the
problem case.

			regards, tom lane


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (7+ messages)

Message-ID: <8473.1492191641@sss.pgh.pa.us>
Permalink:  ../8473.1492191641@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8473.1492191641@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, santiago.diez@caoba.fr, david.g.johnston@gmail.com, andres@anarazel.de
  Subject: Re: Change Unix Socket directory at build time
  In-Reply-To: <8473.1492191641@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox