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/bin/psql/large_obj.c | |
| parent | 22ebad9e39e268c9d4c6c2e422af727058830089 (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/bin/psql/large_obj.c')
| -rw-r--r-- | src/bin/psql/large_obj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/large_obj.c b/src/bin/psql/large_obj.c index 9aba63767e6..d134156477f 100644 --- a/src/bin/psql/large_obj.c +++ b/src/bin/psql/large_obj.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/large_obj.c,v 1.18 2001/10/25 05:49:54 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/large_obj.c,v 1.19 2002/03/06 06:10:31 momjian Exp $ */ #include "postgres_fe.h" #include "large_obj.h" @@ -59,8 +59,8 @@ handle_transaction(void) if (notice[0]) { - if ((!commit && strcmp(notice, "NOTICE: ROLLBACK: no transaction in progress\n") != 0) || - (commit && strcmp(notice, "NOTICE: COMMIT: no transaction in progress\n") != 0)) + if ((!commit && strcmp(notice, "WARNING: ROLLBACK: no transaction in progress\n") != 0) || + (commit && strcmp(notice, "WARNING: COMMIT: no transaction in progress\n") != 0)) fputs(notice, stderr); } else if (!QUIET()) |
