Re: Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol
Дата
Msg-id 19489.1414678213@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol  (Noah Misch <noah@leadboat.com>)
Список 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 по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: pgsql: Avoid corrupting tables when ANALYZE inside a transaction is rol
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: "Pin", rather than "keep", dynamic shared memory mappings and se