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-vrnn1hrhf50xi1yroxl37qk...@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(-)
