Re: automatic restore point - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: automatic restore point
Date
Msg-id 52f37192-099b-ae8f-40b9-c880d2cf9f41@2ndquadrant.com
Whole thread Raw
In response to Re: automatic restore point  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 05/10/2018 15:26, Peter Eisentraut wrote:
> It looked for a moment that
> 
>     isCompleteQuery = (context <= PROCESS_UTILITY_QUERY)
> 
> in ProcessUtilitySlow() might be a problem, since that omits
> PROCESS_UTILITY_QUERY_NONATOMIC, but it's not actually a problem, since
> the commands that run this way (CALL and SET from PL/pgSQL) don't have
> event triggers.  But anyway, I propose the attached patch to rephrase
> that.  Also some tests that show it all works as expected.

I have committed these to master.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: logical decoding bug when mapped relation with toast contents isrewritten repeatedly
Next
From: Kevin Grittner
Date:
Subject: Re: [HACKERS] SERIALIZABLE with parallel query