pgsql: Invalidate caches after cranking up a parallel worker transactio - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Invalidate caches after cranking up a parallel worker transactio
Date
Msg-id E1Zn72u-0001TR-6m@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Invalidate caches after cranking up a parallel worker transaction.

Starting a parallel worker transaction changes our notion of which XIDs
are in-progress or committed, and our notion of the current command
counter ID.  Therefore, our view of these caches prior to starting
this transaction may no longer valid.  Defend against that by clearing
them.

This fixes a bug in commit 924bcf4f16d54c55310b28f77686608684734f42.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/14129d1c9e2d3afa064651012a55c9c84aa6821a

Modified Files
--------------
src/backend/access/transam/parallel.c |    7 +++++++
1 file changed, 7 insertions(+)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: Fix order of arguments in ecpg generated typedef command.
Next
From: Robert Haas
Date:
Subject: pgsql: Invalidate caches after cranking up a parallel worker transactio