]> granicus.if.org Git - postgresql/commitdiff
Change debug message from ereport to elog
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 19 Jul 2011 04:50:10 +0000 (07:50 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 19 Jul 2011 04:50:10 +0000 (07:50 +0300)
src/backend/storage/file/reinit.c

index 837ab90c8d8fb9858b17207c006128757c82597e..79e2ea349a4e7474ee99987c77f305e47be20fee 100644 (file)
@@ -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