Re: Recovery control functions - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Recovery control functions
Date
Msg-id 1295006467.12442.60.camel@ebony
Whole thread Raw
In response to Re: Recovery control functions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: Recovery control functions  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On Fri, 2011-01-14 at 13:47 +0200, Heikki Linnakangas wrote:
> On 14.01.2011 13:15, Simon Riggs wrote:
> >  /*
> > + * Recheck shared recoveryPause by polling.
> > + *
> > + * XXX It might seem we should do this via a shared Latch, but
> > + * currently we only support one shared latch per process and
> > + * that is already taken for Startup process. Polling is used
> > + * in other places in xlog.c already, so not a concern.
> > + */
> 
> There is no such limitation with latches.

SIGUSR1 handler can only handle one shared latch

-- Simon Riggs           http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Recovery control functions
Next
From: Heikki Linnakangas
Date:
Subject: Re: Recovery control functions