Re: Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol - Mailing list pgsql-committers

From Tom Lane
Subject Re: Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol
Date
Msg-id 19489.1414678213@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol  (Noah Misch <noah@leadboat.com>)
List pgsql-committers
Noah Misch <noah@leadboat.com> writes:
> On Wed, Oct 29, 2014 at 10:12:44PM +0000, Tom Lane wrote:
>> To fix, suppress the hint-flag updates if we are InTransactionBlock().

> Shouldn't this use IsInTransactionChain(), to catch the other ways ANALYZE can
> share a transaction with DDL?

Hm, I think you're right.  Will fix, thanks.

            regards, tom lane


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol
Next
From: Robert Haas
Date:
Subject: pgsql: "Pin", rather than "keep", dynamic shared memory mappings and se