Change debug message from ereport to elog

This commit is contained in:
Peter Eisentraut 2011-07-19 07:50:10 +03:00
parent 5286105800
commit 30f854537d

View File

@ -54,10 +54,9 @@ ResetUnloggedRelations(int op)
oldctx;
/* Log it. */
ereport(DEBUG1,
(errmsg("resetting unlogged relations: cleanup %d init %d",
elog(DEBUG1, "resetting unlogged relations: cleanup %d init %d",
(op & UNLOGGED_RELATION_CLEANUP) != 0,
(op & UNLOGGED_RELATION_INIT) != 0)));
(op & UNLOGGED_RELATION_INIT) != 0);
/*
* Just to be sure we don't leak any memory, let's create a temporary