aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsquery_gist.c
diff options
context:
space:
mode:
authorKevin Grittner <kgrittn@postgresql.org>2013-10-07 14:16:54 -0500
committerKevin Grittner <kgrittn@postgresql.org>2013-10-07 14:16:54 -0500
commitc01262a82484106111a81dca8c922fd5670b644d (patch)
treeba64d6e078626d7fcf846de3be764fa486c7b52d /src/backend/utils/adt/tsquery_gist.c
parent2e1cb733f96cff04f6c9116c166fec54bc1e18c6 (diff)
downloadpostgresql-c01262a82484106111a81dca8c922fd5670b644d.tar.gz
postgresql-c01262a82484106111a81dca8c922fd5670b644d.zip
Eliminate xmin from hash tag for predicate locks on heap tuples.
If a tuple was frozen while its predicate locks mattered, read-write dependencies could be missed, resulting in failure to detect conflicts which could lead to anomalies in committed serializable transactions. This field was added to the tag when we still thought that it was necessary to carry locks forward to a new version of an updated row. That was later proven to be unnecessary, which allowed simplification of the code, but elimination of xmin from the tag was missed at the time. Per report and analysis by Heikki Linnakangas. Backpatch to 9.1.
Diffstat (limited to 'src/backend/utils/adt/tsquery_gist.c')
0 files changed, 0 insertions, 0 deletions