]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Transfer current command counter ID to parallel workers.
authorRobert Haas <rhaas@postgresql.org>
Fri, 16 Oct 2015 13:53:34 +0000 (09:53 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 16 Oct 2015 13:58:34 +0000 (09:58 -0400)
commitc451eaf8f628440ad93e933da8f08f7f4545c376
tree1fd1e844000833d40326fa91e58661a662b24999
parent26981d292758c6ee9185332e4abc990ff19c81a2
Transfer current command counter ID to parallel workers.

Commit 924bcf4f16d54c55310b28f77686608684734f42 correctly forbade
parallel workers to modify the command counter while in parallel mode,
but it inexplicably neglected to actually transfer the current command
counter from leader to workers.  This can result in the workers seeing
a different set of tuples from the leader, which is bad.  Repair.
src/backend/access/transam/xact.c