From 92288a1cf9490be3835dc8524ee2ba407f1b885a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 6 Mar 2002 06:10:59 +0000 Subject: 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. --- src/bin/psql/large_obj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bin/psql/large_obj.c') 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()) -- cgit v1.2.3