aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/parallel.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-06-06 14:38:44 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-06-06 14:41:04 -0400
commite3a815d2faa5be28551e71d5db44fb2c78133433 (patch)
treeef1b82057accb564eecb16763607167a0af5ee2a /src/backend/access/transam/parallel.c
parent79c4fa0f62291fd30d126a12f35b9ce71f06b3c0 (diff)
downloadpostgresql-e3a815d2faa5be28551e71d5db44fb2c78133433.tar.gz
postgresql-e3a815d2faa5be28551e71d5db44fb2c78133433.zip
Improve handover logic between sync and apply workers
Make apply busy wait check the catalog instead of shmem state to ensure that next transaction will see the expected table synchronization state. Also make the handover always go through same set of steps to make the overall process easier to understand and debug. Author: Petr Jelinek <petr.jelinek@2ndquadrant.com> Tested-by: Mark Kirkwood <mark.kirkwood@catalyst.net.nz> Tested-by: Erik Rijkers <er@xs4all.nl>
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions