Re: BUG #14208: Inconsistent code modification - 3

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: BUG #14208: Inconsistent code modification - 3
Дата
Msg-id CBBF3E57-7C53-4AB0-9C5A-0D5A1BC3131D@anarazel.de
обсуждение исходный текст
Ответ на Re: BUG #14208: Inconsistent code modification - 3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On June 30, 2016 9:59:07 AM PDT, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>Andres Freund <andres@anarazel.de> writes:
>> On 2016-06-30 12:51:51 -0400, Tom Lane wrote:
>>> But doesn't the code stanza just above this loop pull that spillage
>>> back in?
>
>> If so, sure, it pulls changes back in, but only the first
>> static const Size max_changes_in_memory = 4096;
>> ones. We should never reconstruct a whole large transaction in
>memory...
>
>OK, so the failure case is not "empty top level transaction", but
>"top level transaction small enough to not have spilled", plus a
>spilled subtransaction, correct?

That's how it looks from afar, without having investigated in depth.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14208: Inconsistent code modification - 3
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: BUG #14220: pg_get_expr() with an incorrect relation id crashes the server