Thread: [COMMITTERS] pgsql: Add GUCs for predicate lock promotion thresholds.

[COMMITTERS] pgsql: Add GUCs for predicate lock promotion thresholds.

From
Kevin Grittner
Date:
Add GUCs for predicate lock promotion thresholds.

Defaults match the fixed behavior of prior releases, but now DBAs
have better options to tune serializable workloads.

It might be nice to be able to set this per relation, but that part
will need to wait for another release.

Author: Dagfinn Ilmari Mannsåker

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c63172d60f242ad3581c83723a5b315bbe547a0e

Modified Files
--------------
doc/src/sgml/config.sgml                      | 36 ++++++++++++++++++++
doc/src/sgml/mvcc.sgml                        |  4 ++-
src/backend/storage/lmgr/predicate.c          | 48 +++++++++++++++++----------
src/backend/utils/misc/guc.c                  | 22 ++++++++++++
src/backend/utils/misc/postgresql.conf.sample |  4 +++
src/include/storage/predicate.h               |  2 ++
6 files changed, 98 insertions(+), 18 deletions(-)