pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
7+ messages / 1 participants
[nested] [flat]

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
master

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

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 +++++++++++++
contrib/test_decoding/meson.build                  |   2 +
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 ++++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 ++++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 111 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/backend/utils/time/snapmgr.c                   |   8 +-
src/include/replication/reorderbuffer.h            |  14 ++-
11 files changed, 389 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/963ff022ff56da3aa7c8310368e8f0a69fd53a04

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 +++++++++++++
contrib/test_decoding/meson.build                  |   2 +
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 ++++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 ++++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 111 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/backend/utils/time/snapmgr.c                   |   8 +-
src/include/replication/reorderbuffer.h            |  14 ++-
11 files changed, 389 insertions(+), 13 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5eae2800a854cd60e973b576fd9dac9db299dfd1

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 +++++++++++++
contrib/test_decoding/meson.build                  |   2 +
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 ++++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 ++++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 111 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/include/replication/reorderbuffer.h            |  14 ++-
10 files changed, 385 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/624bd2b1fc0c9750c28a55b436e17b109b72d701

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 ++++++++++++
contrib/test_decoding/meson.build                  |   2 +
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 +++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 +++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 119 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/include/replication/reorderbuffer.h            |  14 ++-
10 files changed, 393 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
REL_16_STABLE

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

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 ++++++++++++
contrib/test_decoding/meson.build                  |   2 +
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 +++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 +++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 119 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/include/replication/reorderbuffer.h            |  14 ++-
10 files changed, 393 insertions(+), 9 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0a6dc4fe1832107755cce4ac6c296a065c8ec725

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 ++++++++++++
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 +++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 +++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 119 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/include/replication/reorderbuffer.h            |  23 +++-
9 files changed, 397 insertions(+), 12 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be
@ 2026-10-14 17:52  Álvaro Herrera <alvherre@kurilemu.de>
  0 siblings, 0 replies; 7+ messages in thread

From: Álvaro Herrera @ 2026-10-14 17:52 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reorderbuffer: handle catalog-change-bearing aborted subxacts better

When constructing a historic snapshot for logical decoding,
reorderbuffer needs to keep track of movement of tuples in catalog
tables.  For the most part this works correctly, except that when a
subtransaction that wrote a catalog tuple aborts, we failed to "forget"
about that change.  There's no known reports of anything actually
breaking except assertion failures, but it is likely possible to
construct cases where historical snapshots produce bogus visibility
answers, potentially causing incorrect decoding output.

To fix, have the decode of a subtransaction abort go over the TUPLECID
list that has been accumulated on the ReorderBufferTXN for its topmost
parent transaction, and remove all the entries that were marked as
originating from the aborted subtransaction or its children.  There are
some little details in which various devils lie, which the added code
comments explain (we hope).

Add a couple of isolation test cases that trip the assertions with the
original coding.  They're not ideal test design, because they pass in
non-assert builds without the fix.  But we'd rather have the fix be
verified in that limited scenario than nowhere at all, and they are
cheap enough.

This bug is sibling to the one fixed in commit 8c67d29fd51c and, like
that one, it goes all the way back to the introduction of
reorderbuffers, so backpatch to all live branches.

While reviewing this, I (Álvaro) was bothered by the snapmgr.c
tuplecid_data file-scoped variable, as it's easily confused with a
function parameter used widely in reorderbuffer.c.  In branches 19 and
master, rename that to avoid confusion.

Reported-by: Arseny Sher <a.sher@postgrespro.ru>
Reported-by: Mark Dilger <mark.dilger@enterprisedb.com>
Reported-by: Alexander Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Author: Bingshuai Li <lucian1412@outlook.com>
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Author: Zhijie Hou <houzhijie22@gmail.com>
Backpatch-through: 14
Bug: #19555
Discussion: https://postgr.es/m/87r2c8xocq.fsf@ars-thinkpad
Discussion: https://postgr.es/m/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg@mail.gmail.com
Discussion: https://postgr.es/m/19555-3c700f40a13045cd@postgresql.org

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/83be644888b860bf74fa88cc18104f58c278d870

Modified Files
--------------
contrib/test_decoding/Makefile                     |   3 +-
contrib/test_decoding/expected/tuplecid_nested.out |  32 ++++++
.../test_decoding/expected/tuplecid_restart.out    |  68 ++++++++++++
contrib/test_decoding/specs/tuplecid_nested.spec   |  77 +++++++++++++
contrib/test_decoding/specs/tuplecid_restart.spec  |  74 +++++++++++++
src/backend/replication/logical/decode.c           |  11 +-
src/backend/replication/logical/reorderbuffer.c    | 119 ++++++++++++++++++++-
src/backend/replication/logical/snapbuild.c        |   2 +-
src/include/replication/reorderbuffer.h            |  23 +++-
9 files changed, 397 insertions(+), 12 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2026-10-14 17:52 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>
2026-10-14 17:52 pgsql: Reorderbuffer: handle catalog-change-bearing aborted subxacts be Álvaro Herrera <alvherre@kurilemu.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox