diff options
author | Robert Haas <rhaas@postgresql.org> | 2015-10-16 11:31:23 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2015-10-16 11:31:23 -0400 |
commit | 6de6d96d971c76c8d7bd3b31e6f182906137f913 (patch) | |
tree | 14a1ae08202cbf1288379c537336104e111abc05 /src/backend/commands/variable.c | |
parent | d07fea542f18f3d4bc5413a5fc23d69b9fcb631c (diff) | |
download | postgresql-6de6d96d971c76c8d7bd3b31e6f182906137f913.tar.gz postgresql-6de6d96d971c76c8d7bd3b31e6f182906137f913.zip |
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.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions