diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-03-06 06:10:59 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-03-06 06:10:59 +0000 |
commit | 92288a1cf9490be3835dc8524ee2ba407f1b885a (patch) | |
tree | c4fe79ee2cb5cb8fa3385580c6cf431a97c2fc48 /src/backend/commands/dbcommands.c | |
parent | 22ebad9e39e268c9d4c6c2e422af727058830089 (diff) | |
download | postgresql-92288a1cf9490be3835dc8524ee2ba407f1b885a.tar.gz postgresql-92288a1cf9490be3835dc8524ee2ba407f1b885a.zip |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/dbcommands.c b/src/backend/commands/dbcommands.c index 3de94de9c6e..9d40d6a11e3 100644 --- a/src/backend/commands/dbcommands.c +++ b/src/backend/commands/dbcommands.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.84 2002/03/01 22:45:08 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.85 2002/03/06 06:09:32 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -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; } |