diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-04-08 15:29:02 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-04-08 15:29:02 -0400 |
commit | fbc0d07796bcae8b2ee4b09ed236877338c95130 (patch) | |
tree | 24f2fa9d68ed974ccc11ceabe39f888130d1c247 /src/backend/access/gin/ginutil.c | |
parent | 9c38bce29cb6d3ef49b932086d31f635981b07e9 (diff) | |
download | postgresql-fbc0d07796bcae8b2ee4b09ed236877338c95130.tar.gz postgresql-fbc0d07796bcae8b2ee4b09ed236877338c95130.zip |
Partially roll back overenthusiastic SSI optimization.
When a regular lock is held, SSI can use that in lieu of a predicate lock
to detect rw conflicts; but if the regular lock is being taken by a
subtransaction, we can't assume that it'll commit, so releasing the
parent transaction's lock in that case is a no-no.
Kevin Grittner
Diffstat (limited to 'src/backend/access/gin/ginutil.c')
0 files changed, 0 insertions, 0 deletions