I wrote:
> Here's a rewritten patch that looks at postmaster.pid instead of
> pg_control. It should be effectively the same as the prior patch in terms
> of response to directory-removal cases, and it should also catch many
> overwrite cases.
BTW, my thought at the moment is to wait till after next week's releases
to push this in. I think it's probably solid, but it doesn't seem like
it's worth taking the risk of pushing shortly before a wrap date.
If anyone wants to argue for including it in the releases, speak up ...
regards, tom lane