diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-07-16 17:33:22 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-07-16 17:33:22 -0400 |
commit | 32df1c9afa5a11e37b154fe50df7a4f016f289e4 (patch) | |
tree | d40e88f017cc178ea2b0cec6047255c565ed6818 /src/backend/executor/nodeModifyTable.c | |
parent | f7cb2842bf47715133b40e4a503f35dbe60d1b72 (diff) | |
download | postgresql-32df1c9afa5a11e37b154fe50df7a4f016f289e4.tar.gz postgresql-32df1c9afa5a11e37b154fe50df7a4f016f289e4.zip |
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions