projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5286105
)
Change debug message from ereport to elog
author
Peter Eisentraut
<
[email protected]
>
Tue, 19 Jul 2011 04:50:10 +0000
(07:50 +0300)
committer
Peter Eisentraut
<
[email protected]
>
Tue, 19 Jul 2011 04:50:10 +0000
(07:50 +0300)
src/backend/storage/file/reinit.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/file/reinit.c
b/src/backend/storage/file/reinit.c
index 837ab90c8d8fb9858b17207c006128757c82597e..79e2ea349a4e7474ee99987c77f305e47be20fee 100644
(file)
--- 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