Thread: New pg_ctl has retrogressed in error messages

New pg_ctl has retrogressed in error messages

From
Tom Lane
Date:
7.4, on not finding a postmaster:

[tgl@rh1 pgsql]$ pg_ctl stop
/home/tgl/version74/bin/pg_ctl: line 274: kill: (15273) - No such process
waiting for postmaster to shut down................................................................ failed
pg_ctl: postmaster does not shut down

CVS tip, same scenario:

[tgl@rh1 pgsql]$ pg_ctl stop
stop signal failed

Not waiting for the results of a failed kill() is good, but the error
message is exceedingly unhelpful.  It should mention the PID it tried to
kill and give the errno string.  Perhaps

failed to signal postmaster process 15273: No such process
        regards, tom lane