Sean Chittenden <sean(at)chittenden(dot)org> writes:
> PostgreSQL writes out postmaster.pid in the data directory then
> link()'s it to postmaster-%d.pid. I don't see where the problem is in
> that.
If you do that then I don't see what the advantage is. I thought you
meant this as a way of avoiding PID collisions after a reboot.
regards, tom lane