1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

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
This commit is contained in:
Robert Haas
2016-02-02 06:42:14 -05:00
parent 1d0c3b3f8a
commit 7191ce8bea
10 changed files with 24 additions and 11 deletions

View File

@ -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);
}
/*