pgsql: Transfer current command counter ID to parallel workers. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Transfer current command counter ID to parallel workers.
Date
Msg-id E1Zn5X6-0008Je-Hs@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c451eaf8f628440ad93e933da8f08f7f4545c376

Modified Files
--------------
src/backend/access/transam/xact.c |   46 ++++++++++++++++++++-----------------
1 file changed, 25 insertions(+), 21 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Don't send protocol messages to a shm_mq that no longer exists.
Next
From: Robert Haas
Date:
Subject: pgsql: Transfer current command counter ID to parallel workers.