diff options
author | Teodor Sigaev | 2018-04-07 13:59:14 +0000 |
---|---|---|
committer | Teodor Sigaev | 2018-04-07 13:59:14 +0000 |
commit | b508a56f2f3a2d850e75a14661943d6b4dde8274 (patch) | |
tree | 1c8e5b683669f19cf27606f472628fb162421bdd /src/backend/access/gist/gistbuildbuffers.c | |
parent | 971d7ddbe19ad9525457e65d01b8b6504ab57cc4 (diff) |
Predicate locking in hash indexes.
Hash index searches acquire predicate locks on the primary
page of a bucket. It acquires a lock on both the old and new buckets
for scans that happen concurrently with page splits. During a bucket
split, a predicate lock is copied from the primary page of an old
bucket to the primary page of a new bucket.
Author: Shubham Barai, Amit Kapila
Reviewed by: Amit Kapila, Alexander Korotkov, Thomas Munro
Discussion: https://www.postgresql.org/message-id/flat/CALxAEPvNsM2GTiXdRgaaZ1Pjd1bs+sxfFsf7Ytr+iq+5JJoYXA@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions