summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKevin Grittner2017-04-08 02:38:05 +0000
committerKevin Grittner2017-04-08 02:38:05 +0000
commitc63172d60f242ad3581c83723a5b315bbe547a0e (patch)
tree0a98686f027aacecb01869bfb269ebd486ea3ba7 /src/include
parent9c7f5229ad68d7e0e4dd149e3f80257893e404d4 (diff)
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage/predicate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/storage/predicate.h b/src/include/storage/predicate.h
index f996d8e818..8f9ea29917 100644
--- a/src/include/storage/predicate.h
+++ b/src/include/storage/predicate.h
@@ -22,6 +22,8 @@
* GUC variables
*/
extern int max_predicate_locks_per_xact;
+extern int max_predicate_locks_per_relation;
+extern int max_predicate_locks_per_page;
/* Number of SLRU buffers to use for predicate locking */