diff --git a/src/backend/storage/file/reinit.c b/src/backend/storage/file/reinit.c index 837ab90c8d..79e2ea349a 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