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