Wiki / Configuration Parameters
max_pred_locks_per_page
This controls how many rows on a single page can be predicate-locked before the lock is promoted to covering the whole page. The default is 2. This parameter can only be set in the postgresql.conf file or on the server command line.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- boot val
- 2
- category
- Lock Management
- context
- sighup
- documented
- true
- enumvals
- Unknown
- extra desc
- If more than this number of tuples on the same page are locked by a connection, those locks are replaced by a page-level lock.
- lang
- en
- max val
- 2147483647
- metadata version
- 18
- min val
- 0
- name
- max_pred_locks_per_page
- short desc
- Sets the maximum number of predicate-locked tuples per page.
- source
- pg-settings-source-snapshot
- unit
- Unknown
- vartype
- integer
Definition PG 18
This controls how many rows on a single page can be predicate-locked before the lock is promoted to covering the whole page. The default is 2. This parameter can only be set in the postgresql.conf file or on the server command line.
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · wiki-repair-20261023:f745f04dfdafef69c7b7fa2067b382872e087029b2758b6f3bc951e068f6bfb2
Text language: en · wiki-repair-20261023:f745f04dfdafef69c7b7fa2067b382872e087029b2758b6f3bc951e068f6bfb2