I wrote:
> Josh Berkus <josh(at)agliodbs(dot)com> writes:
>> Give me source with the change, and I'll put it on a cheap, low-bandwith
>> AWS instance and hammer the heck out of it. That should raise any false
>> positives we can expect.
> Here's a draft patch against HEAD (looks like it will work on 9.5 or
> 9.4 without modifications, too).
BTW: in addition to whatever AWS testing Josh has in mind, it'd be good if
someone tried it on Windows. AFAIK, the self-kill() should work in the
postmaster on Windows, but that should be checked. Also, does the set of
errnos it checks cover typical deletion cases on Windows? Try both
removal of $PGDATA in toto and removal of just pg_control or just global/.
regards, tom lane