postgresql/src/backend/storage
Noah Misch c9de1b8ac8 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
2024-09-24 15:25:23 -07:00
..
buffer Replace RelationOpenSmgr() with RelationGetSmgr(). 2022-11-17 16:54:30 -05:00
file Fix pg_truncate() on Windows. 2023-01-06 16:50:23 +13:00
freespace freespace: Don't return blocks past the end of the main fork. 2024-04-13 08:35:32 -07:00
ipc Fix lost Windows socket EOF events. 2024-07-13 15:43:43 +12:00
large_object Fix snapshot reference leak if lo_export fails. 2021-11-03 10:54:33 +02:00
lmgr Warn if LOCKTAG_TUPLE is held at commit, under debug_assertions. 2024-09-24 15:25:23 -07:00
page Initial pgindent and pgperltidy run for v14. 2021-05-12 13:14:10 -04:00
smgr freespace: Don't return blocks past the end of the main fork. 2024-04-13 08:35:32 -07:00
sync Fix race between DROP TABLESPACE and checkpointing. 2022-03-16 17:20:50 +13:00
Makefile Refactor the fsync queue for wider use. 2019-04-04 23:38:38 +13:00