summaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorBruce Momjian2002-03-06 06:10:59 +0000
committerBruce Momjian2002-03-06 06:10:59 +0000
commit5539928eaebcd3ad7ca8893242be4e2d46dae291 (patch)
tree8751fe0f9d00ab307f6e45bb753e6d06fcb3693b /src/backend/commands/dbcommands.c
parentb25e51bb7f0f04b0009ada75267f30ee3432ddca (diff)
Change made to elog:
o Change all current CVS messages of NOTICE to WARNING. We were going to do this just before 7.3 beta but it has to be done now, as you will see below. o Change current INFO messages that should be controlled by client_min_messages to NOTICE. o Force remaining INFO messages, like from EXPLAIN, VACUUM VERBOSE, etc. to always go to the client. o Remove INFO from the client_min_messages options and add NOTICE. Seems we do need three non-ERROR elog levels to handle the various behaviors we need for these messages. Regression passed.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
-rw-r--r--src/backend/commands/dbcommands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c
index f82b923a48..4a210c49cc 100644
--- a/src/backend/commands/dbcommands.c
+++ b/src/backend/commands/dbcommands.c
@@ -689,7 +689,7 @@ remove_dbdirs(const char *nominal_loc, const char *alt_loc)
/* remove symlink */
if (unlink(nominal_loc) != 0)
{
- elog(NOTICE, "could not remove '%s': %m", nominal_loc);
+ elog(WARNING, "could not remove '%s': %m", nominal_loc);
success = false;
}
}
@@ -698,7 +698,7 @@ remove_dbdirs(const char *nominal_loc, const char *alt_loc)
if (system(buf) != 0)
{
- elog(NOTICE, "database directory '%s' could not be removed",
+ elog(WARNING, "database directory '%s' could not be removed",
target_dir);
success = false;
}