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 <[email protected]> Discussion: https://www.postgresql.org/message-id/acb_Eo1XtmCO_9z7@nathan Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2407c8db159dbae5afd23080a92122e1acb2f5c1 Modified Files -------------- src/backend/storage/lmgr/lwlock.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
