Re: pg_sleep() doesn't work well with recovery conflict interrupts. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_sleep() doesn't work well with recovery conflict interrupts.
Date
Msg-id 14901.1401640018@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_sleep() doesn't work well with recovery conflict interrupts.  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> I am pretty sure by now that the sane fix for this is to add a
> SetLatch() call to RecoveryConflictInterrupt(). All the signal handlers
> that deal with query cancelation et al. do so, so it seems right that
> RecoveryConflictInterrupt() does so as well.

+1
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: teaching Var about NOT NULL
Next
From: Jim Nasby
Date:
Subject: Re: Changeset Extraction v7.6.1