pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add subtransaction handling for table synchronization workers. 3+ messages / 1 participants [nested] [flat]
* pgsql: Add subtransaction handling for table synchronization workers. @ 2018-07-16 21:59 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Robert Haas @ 2018-07-16 21:59 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Add subtransaction handling for table synchronization workers. @ 2018-07-16 21:59 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Robert Haas @ 2018-07-16 21:59 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9ec9f8f6833db5bafc30c480f96f06bdf5c012e6 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Add subtransaction handling for table synchronization workers. @ 2018-07-16 21:59 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Robert Haas @ 2018-07-16 21:59 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4beb25c63221393f8a7ec790ebce1d6b5911289a 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-07-16 21:59 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-07-16 21:59 pgsql: Add subtransaction handling for table synchronization workers. Robert Haas <rhaas@postgresql.org> 2018-07-16 21:59 pgsql: Add subtransaction handling for table synchronization workers. Robert Haas <rhaas@postgresql.org> 2018-07-16 21:59 pgsql: Add subtransaction handling for table synchronization workers. Robert Haas <rhaas@postgresql.org>
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