-
- Downloads
Add predicate locking for GiST
Add page-level predicate locking, due to gist's code organization, patch seems close to trivial: add check before page changing, add predicate lock before page scanning. Although choosing right place to check is not simple: it should not be called during index build, it should support insertion of new downlink and so on. Author: Shubham Barai with editorization by me and Alexander Korotkov Reviewed by: Alexander Korotkov, Andrey Borodin, me Discussion: https://www.postgresql.org/message-id/flat/CALxAEPtdcANpw5ePU3LvnTP8HCENFw6wygupQAyNBgD-sG3h0g@mail.gmail.com
Showing
- src/backend/access/gist/gist.c 12 additions, 1 deletionsrc/backend/access/gist/gist.c
- src/backend/access/gist/gistget.c 3 additions, 0 deletionssrc/backend/access/gist/gistget.c
- src/backend/storage/lmgr/README-SSI 3 additions, 2 deletionssrc/backend/storage/lmgr/README-SSI
- src/test/isolation/expected/predicate-gist.out 659 additions, 0 deletionssrc/test/isolation/expected/predicate-gist.out
- src/test/isolation/isolation_schedule 1 addition, 0 deletionssrc/test/isolation/isolation_schedule
- src/test/isolation/specs/predicate-gist.spec 117 additions, 0 deletionssrc/test/isolation/specs/predicate-gist.spec
Loading
Please register or sign in to comment