From: Heikki Linnakangas Date: Wed, 18 Feb 2009 13:21:04 +0000 (+0200) Subject: Move DEBUG2 message inside if section, per Simon's suggestion. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=960dc2526b423feac1ef0c6293531e8d20618578;p=users%2Fsimon%2Fpostgres.git Move DEBUG2 message inside if section, per Simon's suggestion. --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 4ed0b6848c..ebe68f3d9c 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -1816,11 +1816,11 @@ UpdateMinRecoveryPoint(XLogRecPtr lsn, bool force) ControlFile->minRecoveryPoint = newMinRecoveryPoint; UpdateControlFile(); minRecoveryPoint = newMinRecoveryPoint; - } - ereport(DEBUG2, - (errmsg("updated min recovery point to %X/%X", + ereport(DEBUG2, + (errmsg("updated min recovery point to %X/%X", minRecoveryPoint.xlogid, minRecoveryPoint.xrecoff))); + } } LWLockRelease(ControlFileLock); }