summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-04-01 00:43:29 +0000
committerRobert Haas <rhaas@postgresql.org>2010-04-01 00:43:29 +0000
commit54943734f8fca3a9092564f31a7c9c6b8a58c7bc (patch)
treed3ca57d0779689812adb82c71461ddfad5762261 /src/backend/access/transam/xlog.c
parent38672aaaa1b8d786cb9ac4eba50860bfce3f1782 (diff)
Refer to max_wal_senders in a more consistent fashion.
The error message now makes explicit reference to the GUC that must be changed to fix the problem, using wording suggested by Tom Lane. Along the way, rename the GUC from MaxWalSenders to max_wal_senders for consistency and grep-ability.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 94003c0ce29..dfe2593c996 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.385 2010/03/30 16:23:57 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.386 2010/04/01 00:43:29 rhaas Exp $
*
*-------------------------------------------------------------------------
*/
@@ -7092,7 +7092,7 @@ CreateCheckPoint(int flags)
* disconnected (e.g because of network problems), but at least it avoids
* an open replication connection from failing because of that.
*/
- if ((_logId || _logSeg) && MaxWalSenders > 0)
+ if ((_logId || _logSeg) && max_wal_senders > 0)
{
XLogRecPtr oldest;
uint32 log;