summaryrefslogtreecommitdiff
path: root/src/backend/tcop
diff options
context:
space:
mode:
authorNathan Bossart2025-11-12 20:57:48 +0000
committerNathan Bossart2025-11-12 20:57:48 +0000
commitc5c74282f2ea222beb7e07fc91b7afd7a06020c2 (patch)
tree059e661e22fe641cf16bab163d9fdbad869cca4c /src/backend/tcop
parent1165a933aab1355757a43cfd9193b6cce06f573b (diff)
test_dsa: Avoid leaking LWLock tranches.HEADmaster
Since this is a test module, leaking a couple of LWLock tranches is fine, but we want to discourage that pattern in third-party code. This commit teaches the module to create only one tranche and to store its ID in shared memory for use by other backends. Reported-by: Alexander Lakhin <[email protected]> Reviewed-by: Sami Imseih <[email protected]> Discussion: https://postgr.es/m/dd36d384-55df-4fc2-825c-5bc56c950fa9%40gmail.com
Diffstat (limited to 'src/backend/tcop')
0 files changed, 0 insertions, 0 deletions