New pg_ctl has retrogressed in error messages - Mailing list pgsql-hackers

From Tom Lane
Subject New pg_ctl has retrogressed in error messages
Date
Msg-id 1227.1086023659@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Can't detect time zone
Next
From: "Marc G. Fournier"
Date:
Subject: Official Freeze Date for 7.5: July 1st, 2004