On Thu, Jan 13, 2011 at 2:16 PM, Tom Lane <[email protected]> wrote: > Frankly I'd prefer to get rid of PostmasterIsAlive, not extend its use. > It sucks because you don't get a signal on parent death. With the > arrival of the latch code, having to check for PostmasterIsAlive > frequently is the only reason for an idle background process to consume > CPU at all.
What we really need is SIGPARENT. I wonder if the Linux folks would consider adding such a thing. Might be useful to others as well. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
