aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-01-29 18:39:05 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2010-01-29 18:39:05 +0000
commit6d2bc0a6cf5c8d9a3241a0d7afaf5ca8bf1f11ec (patch)
treea99f7e3490d28b3546b909796ad76c8b6322cf72 /src/backend/access/transam/xlog.c
parentd0cfc018233b4cdcab28d460ee0e14dbf87ac4ce (diff)
downloadpostgresql-6d2bc0a6cf5c8d9a3241a0d7afaf5ca8bf1f11ec.tar.gz
postgresql-6d2bc0a6cf5c8d9a3241a0d7afaf5ca8bf1f11ec.zip
Augment WAL records for btree delete with GetOldestXmin() to reduce
false positives during Hot Standby conflict processing. Simple patch to enhance conflict processing, following previous discussions. Controlled by parameter minimize_standby_conflicts = on | off, with default off allows measurement of performance impact to see whether it should be set on all the time.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 5bee1d8837d..8aa7976e3e3 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.364 2010/01/28 19:17:22 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.365 2010/01/29 18:39:05 sriggs Exp $
*
*-------------------------------------------------------------------------
*/
@@ -71,6 +71,7 @@ bool XLogArchiveMode = false;
char *XLogArchiveCommand = NULL;
bool XLogRequestRecoveryConnections = true;
int MaxStandbyDelay = 30;
+bool MinimizeStandbyConflicts = false;
bool fullPageWrites = true;
bool log_checkpoints = false;
int sync_method = DEFAULT_SYNC_METHOD;