The following bug has been logged online:
Bug reference: 5103
Logged by: Michael Renner
Email address: michael(dot)renner(at)amd(dot)co(dot)at
PostgreSQL version: HEAD
Operating system: Linux
Description: "pg_ctl -w (re)start" fails with custom
unix_socket_directory
Details:
When using a non-standard unix_socket_directory setting, pg_ctl -w (re)start
fails because it checks for the socket file to appear in it's default
location.