diff options
author | Noah Misch <noah@leadboat.com> | 2024-09-24 15:25:18 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2024-09-24 15:25:22 -0700 |
commit | acc63ef4fbe686b0a21000d391d42bbf6b8296eb (patch) | |
tree | 822a8977966342274636b612dae114b9c86064e1 /src/backend/commands/dbcommands.c | |
parent | f663f4daf075b75268579c9a19d79de81b18c67b (diff) | |
download | postgresql-acc63ef4fbe686b0a21000d391d42bbf6b8296eb.tar.gz postgresql-acc63ef4fbe686b0a21000d391d42bbf6b8296eb.zip |
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
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions