Tom Lane wrote:
Aidan Van Dyk <ai...@highrise.ca> writes:
Can postmaster keep a exclusive lock on its own pid file the entire time it's
running?

That's been discussed, but file locking isn't all that portable or
trustworthy :-(

                        regards, tom lane
What about having a special request via the socket file asking for its data directory (not over the network)? Or even to have it just update the timestamp on its pid file...

--
Chander Ganesan
Open Technology Group, Inc.
One Copley Parkway, Suite 210
Morrisville, NC  27560
877-258-8987/919-463-0999
http://www.otg-nc.com


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to