pgsql: logical decoding: process ASSIGNMENT during snapshot build

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: logical decoding: process ASSIGNMENT during snapshot build
Дата
Msg-id E1i8rQX-00047O-PH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
logical decoding: process ASSIGNMENT during snapshot build

Most WAL records are ignored in early SnapBuild snapshot build phases.
But it's critical to process some of them, so that later messages have
the correct transaction state after the snapshot is completely built; in
particular, XLOG_XACT_ASSIGNMENT messages are critical in order for
sub-transactions to be correctly assigned to their parent transactions,
or at least one assert misbehaves, as reported by Ildar Musin.

Diagnosed-by: Masahiko Sawada
Author: Masahiko Sawada
Discussion: https://postgr.es/m/CAONYFtOv+Er1p3WAuwUsy1zsCFrSYvpHLhapC_fMD-zNaRWxYg@mail.gmail.com

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e8c7f40a1f8ad2a017ff646f19ef42b07bf4ab51

Modified Files
--------------
src/backend/replication/logical/decode.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Fix progress reporting of CLUSTER / VACUUM FULL
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make tuplesort_set_bound() assertions more comprehensible,hopef