I have noticed on linux that if you try to start postmaster via "pg_ctl
-w", but the postmaster fails to run (e.g. if you forgot to create
PGDATA), it returns a 0 exit code. It needs to return a non-0 exit code
if postmaster failed to start, when you are using the "-w" option to wait
for it to start.
Thanks,
Steve McWilliams