aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/clog.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-02-02 06:42:14 -0500
committerRobert Haas <rhaas@postgresql.org>2016-02-02 06:45:55 -0500
commit7191ce8bea0cb110a28faef178efa92bf456e030 (patch)
tree04014e9bfc2ca0dfdb09dec11cd94a2cc84afa81 /src/backend/access/transam/clog.c
parent1d0c3b3f8a98b0ed9515ff0a3868266c3bfb5d38 (diff)
downloadpostgresql-7191ce8bea0cb110a28faef178efa92bf456e030.tar.gz
postgresql-7191ce8bea0cb110a28faef178efa92bf456e030.zip
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
Diffstat (limited to 'src/backend/access/transam/clog.c')
-rw-r--r--src/backend/access/transam/clog.c2
1 files changed, 1 insertions, 1 deletions
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);
}
/*