mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +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:
@ -485,7 +485,8 @@ CommitTsShmemInit(void)
|
||||
|
||||
CommitTsCtl->PagePrecedes = CommitTsPagePrecedes;
|
||||
SimpleLruInit(CommitTsCtl, "commit_timestamp", CommitTsShmemBuffers(), 0,
|
||||
CommitTsControlLock, "pg_commit_ts");
|
||||
CommitTsControlLock, "pg_commit_ts",
|
||||
LWTRANCHE_COMMITTS_BUFFERS);
|
||||
|
||||
commitTsShared = ShmemInitStruct("CommitTs shared",
|
||||
sizeof(CommitTimestampShared),
|
||||
|
Reference in New Issue
Block a user