Fix RequestNamedLWLockTranche in single-user mode
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Author:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-03-27T23:02:11Z
Releases:
19 (unreleased)
Fix RequestNamedLWLockTranche in single-user mode PostmasterContext is not available in single-user mode, use TopMemoryContext instead. Also make sure that we use the correct memory context in the lappend(). Author: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://www.postgresql.org/message-id/acb_Eo1XtmCO_9z7@nathan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/lwlock.c | modified | +9 −1 |
Discussion
- Clean up NamedLWLockTranche stuff 18 messages · 2026-03-26 → 2026-03-30