mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +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:
@@ -795,7 +795,8 @@ OldSerXidInit(void)
|
||||
*/
|
||||
OldSerXidSlruCtl->PagePrecedes = OldSerXidPagePrecedesLogically;
|
||||
SimpleLruInit(OldSerXidSlruCtl, "oldserxid",
|
||||
NUM_OLDSERXID_BUFFERS, 0, OldSerXidLock, "pg_serial");
|
||||
NUM_OLDSERXID_BUFFERS, 0, OldSerXidLock, "pg_serial",
|
||||
LWTRANCHE_OLDSERXID_BUFFERS);
|
||||
/* Override default assumption that writes should be fsync'd */
|
||||
OldSerXidSlruCtl->do_fsync = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user