Commit 87eb130a authored by Bruce Momjian's avatar Bruce Momjian

Revert as not needed/inconsistent with SQL REINDEX:

  Suppress some NOTICE messages from REINDEX command.

  Euler Taveira de Oliveira
parent e35ea516
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * 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, ...@@ -229,13 +229,6 @@ reindex_one_database(const char *name, const char *dbname, const char *type,
conn = connectDatabase(dbname, host, port, username, password, progname); 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) if (echo)
printf("%s", sql.data); printf("%s", sql.data);
result = PQexec(conn, sql.data); result = PQexec(conn, sql.data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment