]> granicus.if.org Git - postgresql/commit
Add subtransaction handling for table synchronization workers.
authorRobert Haas <rhaas@postgresql.org>
Mon, 16 Jul 2018 21:33:22 +0000 (17:33 -0400)
committerRobert Haas <rhaas@postgresql.org>
Mon, 16 Jul 2018 21:55:13 +0000 (17:55 -0400)
commit4beb25c63221393f8a7ec790ebce1d6b5911289a
treeb1967eb5507a296cd9a173b6e2de4b7bc971d0ef
parent0bb28ca36eaf14ba73695bc0a29e3f36de34e07b
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
src/backend/access/transam/xact.c
src/backend/replication/logical/launcher.c
src/include/replication/logicallauncher.h
src/tools/pgindent/typedefs.list