Re: Recovery control functions

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Recovery control functions
Date: 2011-01-14 11:47:39
Message-ID: 4D3037DB.8050208@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2011-01-14 12:00:07 Re: Recovery control functions
Previous Message Magnus Hagander 2011-01-14 11:41:16 Re: Recovery control functions