On 20.01.2011 22:15, Dimitri Fontaine wrote:
> Robert Haas<robertmhaas@gmail.com> writes:
>> Sending them a signal seems like a promising approach, but the trick
>> is guaranteeing that they've actually acted on it before you start the
>> checkpoint.
>
> How much using a latch here would help? Or be overkill?
A latch doesn't give you an acknowledgment from the backends that
they've received and acted on the guc change. You could use it as a
building block to construct that, though.
-- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com