1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

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
This commit is contained in:
Robert Haas
2018-07-16 17:33:22 -04:00
parent f7cb2842bf
commit 32df1c9afa
4 changed files with 112 additions and 8 deletions

View File

@@ -2227,6 +2227,7 @@ StdAnalyzeData
StdRdOptions
Step
StopList
StopWorkersData
StrategyNumber
StreamCtl
StringInfo