Re: Rethinking placement of latch self-pipe initialization
Peter Geoghegan <peter@2ndquadrant.com>
From: Peter Geoghegan <peter@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2012-10-14T18:45:31Z
Lists: pgsql-hackers
On 14 October 2012 19:17, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Anyway, the simplest working solution proved to be to put the > InitializeLatchSupport calls in InitProcess and InitAuxiliaryProcess, > plus add them in a few background process types that use InitLatch but > don't call either of those functions. Patch attached. Any objections? Looks good to me. -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services