summaryrefslogtreecommitdiff
path: root/src/backend/access/rmgrdesc/hashdesc.c
diff options
context:
space:
mode:
authorMichael Paquier2025-07-25 07:17:13 +0000
committerMichael Paquier2025-07-25 07:17:13 +0000
commit641f20d4c433b66df2928408fb2b44bd165c2329 (patch)
tree24acadbf47adc75f9db082a80de3e49f48488ee2 /src/backend/access/rmgrdesc/hashdesc.c
parentac000fca743eff923d1feb4bc722d905901ae540 (diff)
Fix assertion failure with latch wait in single-user modeHEADmaster
LatchWaitSetPostmasterDeathPos, the latch event position for the postmaster death event, is initialized under IsUnderPostmaster. WaitLatch() considered it as a valid wait target in single-user mode (!IsUnderPostmaster), which was incorrect. One code path found to fail with an assertion failure is a database drop in single-user mode while waiting in WaitForProcSignalBarrier() after the drop. Oversight in commit 84e5b2f07a5e. Author: Patrick Stählin <me@packi.ch> Co-authored-by: Ronan Dunklau <ronan.dunklau@aiven.io> Discussion: https://postgr.es/m/18996-3a2744c8140488de@postgresql.org Backpatch-through: 18
Diffstat (limited to 'src/backend/access/rmgrdesc/hashdesc.c')
0 files changed, 0 insertions, 0 deletions