Revert as not needed/inconsistent with SQL REINDEX:
Suppress some NOTICE messages from REINDEX command. Euler Taveira de Oliveira
This commit is contained in:
parent
e35ea516a4
commit
87eb130ad8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user