diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-04-05 15:16:59 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-04-05 15:17:25 -0400 |
commit | 632f0faa7c975e8984ce0f1d6b631478e41a96c2 (patch) | |
tree | d6c8a3841563ed71b15a7de3823ae9d7e4eaee4a /src/backend/tcop/postgres.c | |
parent | 38d15f16511cb9f75ed2b1e1f73117c1bc581538 (diff) | |
download | postgresql-632f0faa7c975e8984ce0f1d6b631478e41a96c2.tar.gz postgresql-632f0faa7c975e8984ce0f1d6b631478e41a96c2.zip |
Repair some flakiness in CheckTargetForConflictsIn.
When we release and reacquire SerializableXactHashLock, we must recheck
whether an R/W conflict still needs to be flagged, because it could have
changed under us in the meantime. And when we release the partition
lock, we must re-walk the list of predicate locks from the beginning,
because our pointer could get invalidated under us.
Bug report #5952 by Yamamoto Takashi. Patch by Kevin Grittner.
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions