max_locks_per_transaction is a configuration parameter controlling the average number of object locks allocated for each transaction.
max_locks_per_transaction was added in PostgreSQL 7.2.
The default value for
On a standby,
max_locks_per_transaction must be set to the same or higher value as on the primary.