Martin Pitt <martin@piware.de> writes:
> the bug report below was recently sent to Debian. The details and my
> reply are at http://bugs.debian.org/358546, the executive summary is:
> pg_ctl's -w option does not honour postgresql.conf's
> unix_socket_directory configuration (and neither $PGHOST).
The proposed patch is just a kluge. We already have a TODO item about
the right way to fix it, which is to teach pg_ctl how to read the
postgresql.conf file for itself --- this is needed for other possible
settings such as data_directory, not only unix_socket_directory.
regards, tom lane