Index: src/bin/scripts/reindexdb.c =================================================================== RCS file: /projects/cvsroot/pgsql/src/bin/scripts/reindexdb.c,v retrieving revision 1.5 diff -c -r1.5 reindexdb.c *** src/bin/scripts/reindexdb.c 5 Mar 2006 15:58:52 -0000 1.5 --- src/bin/scripts/reindexdb.c 8 Jun 2006 00:42:44 -0000 *************** *** 229,234 **** --- 229,241 ---- 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);