From 7191ce8bea0cb110a28faef178efa92bf456e030 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Tue, 2 Feb 2016 06:42:14 -0500 Subject: Make all built-in lwlock tranche IDs fixed. This makes the values more stable, which seems like a good thing for anybody who needs to look at at them. Alexander Korotkov and Amit Kapila --- src/backend/access/transam/clog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/access/transam/clog.c') diff --git a/src/backend/access/transam/clog.c b/src/backend/access/transam/clog.c index f4aae10d6b7..06aff181d8d 100644 --- a/src/backend/access/transam/clog.c +++ b/src/backend/access/transam/clog.c @@ -457,7 +457,7 @@ CLOGShmemInit(void) { ClogCtl->PagePrecedes = CLOGPagePrecedes; SimpleLruInit(ClogCtl, "clog", CLOGShmemBuffers(), CLOG_LSNS_PER_PAGE, - CLogControlLock, "pg_clog"); + CLogControlLock, "pg_clog", LWTRANCHE_CLOG_BUFFERS); } /* -- cgit v1.2.3