From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add subtransaction handling for table synchronization workers. |
Date: | 2018-07-16 21:59:38 |
Message-ID: | E1ffBWs-0007VV-Dg@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add subtransaction handling for table synchronization workers.
Since the old logic was completely unaware of subtransactions, a
change made in a subsequently-aborted subtransaction would still cause
workers to be stopped at toplevel transaction commit. Fix that by
managing a stack of worker lists rather than just one.
Amit Khandekar and Robert Haas
Discussion: http://postgr.es/m/CAJ3gD9eaG_mWqiOTA2LfAug-VRNn1hrhf50Xi1YroxL37QkZNg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/32df1c9afa5a11e37b154fe50df7a4f016f289e4
Modified Files
--------------
src/backend/access/transam/xact.c | 2 +
src/backend/replication/logical/launcher.c | 116 +++++++++++++++++++++++++++--
src/include/replication/logicallauncher.h | 1 +
src/tools/pgindent/typedefs.list | 1 +
4 files changed, 112 insertions(+), 8 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-07-16 22:48:04 | pgsql: Fix partition pruning with IS [NOT] NULL clauses |
Previous Message | Robert Haas | 2018-07-16 15:22:07 | Re: Refactor documentation for wait events (Was: pgsql: Add wait event for fsync of WAL segments) |