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:21 -0700 |
commit | f33bf1c7d501af56b257256349990ad9000dcffa (patch) | |
tree | 2735ca755561c7338c308af3d5f7d3da779bf55f /src/backend/executor/nodeModifyTable.c | |
parent | 923a71584fd7efb5302cb8bf5a5bd417b531123f (diff) | |
download | postgresql-f33bf1c7d501af56b257256349990ad9000dcffa.tar.gz postgresql-f33bf1c7d501af56b257256349990ad9000dcffa.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/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions