summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-07-19 07:50:10 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-07-19 07:51:17 +0300
commite4ce3b777586ddc0f9e351509a1daddb482190b2 (patch)
tree5d492a54a830ed60441a81954b7229cf37efec5a /src
parent826fe721b2eb7d41c733df3fa654fc992b3d80d6 (diff)
Change debug message from ereport to elog
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/file/reinit.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/backend/storage/file/reinit.c b/src/backend/storage/file/reinit.c
index 837ab90c8d8..79e2ea349a4 100644
--- a/src/backend/storage/file/reinit.c
+++ b/src/backend/storage/file/reinit.c
@@ -54,10 +54,9 @@ ResetUnloggedRelations(int op)
oldctx;
/* Log it. */
- ereport(DEBUG1,
- (errmsg("resetting unlogged relations: cleanup %d init %d",
- (op & UNLOGGED_RELATION_CLEANUP) != 0,
- (op & UNLOGGED_RELATION_INIT) != 0)));
+ elog(DEBUG1, "resetting unlogged relations: cleanup %d init %d",
+ (op & UNLOGGED_RELATION_CLEANUP) != 0,
+ (op & UNLOGGED_RELATION_INIT) != 0);
/*
* Just to be sure we don't leak any memory, let's create a temporary