summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2010-02-13 01:32:20 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2010-02-13 01:32:20 +0000
commitb95a720a487b5027af1b9e4a12542800598ff5de (patch)
treed49548ca497e8169d9cbae7f7127f4f73330f0a5 /src/backend/utils/misc/guc.c
parentfafa374f2d1e04ab265d56cdadb634124364646f (diff)
Re-enable max_standby_delay = -1 using deadlock detection on startup
process. If startup waits on a buffer pin we send a request to all backends to cancel themselves if they are holding the buffer pin required and they are also waiting on a lock. If not, startup waits until max_standby_delay before cancelling any backend waiting for the requested buffer pin.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r--src/backend/utils/misc/guc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 642fc6796a3..fd533a1e586 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.538 2010/02/01 13:40:28 sriggs Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.539 2010/02/13 01:32:20 sriggs Exp $
*
*--------------------------------------------------------------------
*/
@@ -1381,7 +1381,7 @@ static struct config_int ConfigureNamesInt[] =
NULL
},
&MaxStandbyDelay,
- 30, 0, INT_MAX, NULL, NULL
+ 30, -1, INT_MAX, NULL, NULL
},
{