From 87eb130ad86465b7b9719bdc178eb2dcc0493a22 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 2 Sep 2006 17:10:17 +0000 Subject: [PATCH] Revert as not needed/inconsistent with SQL REINDEX: Suppress some NOTICE messages from REINDEX command. Euler Taveira de Oliveira --- src/bin/scripts/reindexdb.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/bin/scripts/reindexdb.c b/src/bin/scripts/reindexdb.c index 6c10bbe57e..cd8ebcdd67 100644 --- a/src/bin/scripts/reindexdb.c +++ b/src/bin/scripts/reindexdb.c @@ -4,7 +4,7 @@ * * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.6 2006/09/02 02:43:07 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.7 2006/09/02 17:10:17 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -229,13 +229,6 @@ reindex_one_database(const char *name, const char *dbname, const char *type, conn = connectDatabase(dbname, host, port, username, password, progname); - /* Suppress some NOTICE messages from REINDEX command */ - if (quiet) - { - result = PQexec(conn, "SET client_min_messages = warning"); - PQclear(result); - } - if (echo) printf("%s", sql.data); result = PQexec(conn, sql.data); -- 2.40.0