From 54943734f8fca3a9092564f31a7c9c6b8a58c7bc Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 1 Apr 2010 00:43:29 +0000 Subject: 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. --- src/backend/access/transam/xlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/access/transam/xlog.c') 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; -- cgit v1.2.3