mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +03:00
Migrate replication slot I/O locks into a separate tranche.
This is following in a long train of similar changes and for the same reasons - seeb319356f0eandfe702a7b3finter alia. Author: Amit Kapila Reviewed-by: Alexander Korotkov, Robert Haas
This commit is contained in:
@@ -353,9 +353,6 @@ NumLWLocks(void)
|
||||
/* Predefined LWLocks */
|
||||
numLocks = NUM_FIXED_LWLOCKS;
|
||||
|
||||
/* slot.c needs one for each slot */
|
||||
numLocks += max_replication_slots;
|
||||
|
||||
/*
|
||||
* Add any requested by loadable modules; for backwards-compatibility
|
||||
* reasons, allocate at least NUM_USER_DEFINED_LWLOCKS of them even if
|
||||
|
||||
Reference in New Issue
Block a user