"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> This is a patch which allows pg_ctl to make an intelligent
> guess as to the proper port when running 'psql -l' to
> determine if the database has started up (the -w flag).
Seems reasonable ... but you forgot to update the pg_ctl manual page.
regards, tom lane