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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ac30021) | patch
Warn if LOCKTAG_TUPLE is held at commit, under debug_assertions.
2024年9月24日 22:25:18 +0000 (15:25 -0700)
2024年9月24日 22:25:18 +0000 (15:25 -0700)
commit dbf3f974ee04d24547690268b1fc2b7eb12b4ebc
Warn if LOCKTAG_TUPLE is held at commit, under debug_assertions.

The current use always releases this locktag. A planned use will
continue that intent. It will involve more areas of code, making unlock
omissions easier. Warn under debug_assertions, like we do for various
resource leaks. Back-patch to v12 (all supported versions), the plan
for the commit of the new use.

Reviewed by Heikki Linnakangas.

Discussion: https://postgr.es/m/20240512232923.aa.nmisch@google.com
src/backend/storage/lmgr/lock.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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