Add subtransaction handling for table synchronization workers.

Robert Haas <rhaas@postgresql.org>

Commit: 4beb25c63221393f8a7ec790ebce1d6b5911289a
Author: Robert Haas <rhaas@postgresql.org>
Date: 2018-07-16T21:55:13Z
Releases: 10.5
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

Files

Discussion