git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4589c6a) | patch
Remove dependency on HeapTuple from predicate locking functions.
2020年1月28日 00:13:04 +0000 (13:13 +1300)
2020年1月28日 00:13:04 +0000 (13:13 +1300)
commit 6f38d4dac381b5b8bead302a0b4f81761042cd25
Remove dependency on HeapTuple from predicate locking functions.

The following changes make the predicate locking functions more
generic and suitable for use by future access methods:

- PredicateLockTuple() is renamed to PredicateLockTID(). It takes
ItemPointer and inserting transaction ID instead of HeapTuple.

- CheckForSerializableConflictIn() takes blocknum instead of buffer.

- CheckForSerializableConflictOut() no longer takes HeapTuple or buffer.

Author: Ashwin Agrawal
Reviewed-by: Andres Freund, Kuntal Ghosh, Thomas Munro
Discussion: https://postgr.es/m/CALfoeiv0k3hkEb3Oqk%3DziWqtyk2Jys1UOK5hwRBNeANT_yX%2Bng%40mail.gmail.com
12 files changed:
src/backend/access/gin/ginbtree.c diff | blob | blame | history
src/backend/access/gin/ginfast.c diff | blob | blame | history
src/backend/access/gin/gininsert.c diff | blob | blame | history
src/backend/access/gist/gist.c diff | blob | blame | history
src/backend/access/hash/hashinsert.c diff | blob | blame | history
src/backend/access/heap/heapam.c diff | blob | blame | history
src/backend/access/heap/heapam_handler.c diff | blob | blame | history
src/backend/access/index/indexam.c diff | blob | blame | history
src/backend/access/nbtree/nbtinsert.c diff | blob | blame | history
src/backend/storage/lmgr/predicate.c diff | blob | blame | history
src/include/access/heapam.h diff | blob | blame | history
src/include/storage/predicate.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /