summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-02-12 23:53:42 +0000
committerBruce Momjian <bruce@momjian.us>2005-02-12 23:53:42 +0000
commit7c44e573317a83c085ea64612d45f1b4d9f35d4e (patch)
treeb0d61081290900fc21489f08ec6d9855f599681d /src/backend/access/transam/xlog.c
parente9d693411ca5a0a5386a5b337f5f879cd5563243 (diff)
Move plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested
DEBUG. Fix a few places where DEBUG1 crept in that should have been DEBUG2.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index ec00dbd11f5..1a5772798b7 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.180 2004/12/31 21:59:30 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.181 2005/02/12 23:53:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2065,7 +2065,7 @@ RestoreArchivedFile(char *path, const char *xlogfname,
* restore, or because the administrator has specified the restore
* program incorrectly. We have to assume the former.
*/
- ereport(DEBUG1,
+ ereport(DEBUG2,
(errmsg("could not restore file \"%s\" from archive: return code %d",
xlogfname, rc)));
@@ -4893,7 +4893,7 @@ CreateCheckPoint(bool shutdown, bool force)
END_CRIT_SECTION();
if (!shutdown)
- ereport(DEBUG1,
+ ereport(DEBUG2,
(errmsg("checkpoint starting")));
CheckPointCLOG();
@@ -4994,7 +4994,7 @@ CreateCheckPoint(bool shutdown, bool force)
TruncateSUBTRANS(GetOldestXmin(true));
if (!shutdown)
- ereport(DEBUG1,
+ ereport(DEBUG2,
(errmsg("checkpoint complete; %d transaction log file(s) added, %d removed, %d recycled",
nsegsadded, nsegsremoved, nsegsrecycled)));