diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2010-01-29 18:39:05 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2010-01-29 18:39:05 +0000 |
commit | 6d2bc0a6cf5c8d9a3241a0d7afaf5ca8bf1f11ec (patch) | |
tree | a99f7e3490d28b3546b909796ad76c8b6322cf72 /src/include/access/xlog.h | |
parent | d0cfc018233b4cdcab28d460ee0e14dbf87ac4ce (diff) | |
download | postgresql-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/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index d7aeb2fe06b..546452f282f 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.99 2010/01/28 07:31:42 heikki Exp $ + * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.100 2010/01/29 18:39:05 sriggs Exp $ */ #ifndef XLOG_H #define XLOG_H @@ -183,6 +183,7 @@ extern int XLogArchiveTimeout; extern bool log_checkpoints; extern bool XLogRequestRecoveryConnections; extern int MaxStandbyDelay; +extern bool MinimizeStandbyConflicts; #define XLogArchivingActive() (XLogArchiveMode) #define XLogArchiveCommandSet() (XLogArchiveCommand[0] != '\0') |