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/commands/async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/commands/async.c') diff --git a/src/backend/commands/async.c b/src/backend/commands/async.c index cf17b01547a..c39ac3aeef0 100644 --- a/src/backend/commands/async.c +++ b/src/backend/commands/async.c @@ -480,7 +480,7 @@ AsyncShmemInit(void) */ AsyncCtl->PagePrecedes = asyncQueuePagePrecedes; SimpleLruInit(AsyncCtl, "async", NUM_ASYNC_BUFFERS, 0, - AsyncCtlLock, "pg_notify"); + AsyncCtlLock, "pg_notify", LWTRANCHE_ASYNC_BUFFERS); /* Override default assumption that writes should be fsync'd */ AsyncCtl->do_fsync = false; -- cgit v1.2.3