Re: Rethinking placement of latch self-pipe initialization

From: Peter Geoghegan <peter(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Rethinking placement of latch self-pipe initialization
Date: 2012-10-14 18:45:31
Message-ID: CAEYLb_UQcDcLbfA1hD6cURLfO-4gFr-Q2SLRQWHnhZZNbSKufw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 14 October 2012 19:17, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stirling Newberry 2012-10-14 18:49:50 Re: Deprecating RULES
Previous Message Pavel Stehule 2012-10-14 18:23:20 Re: proposal - assign result of query to psql variable