Skip to content

Commit 87eb130

Browse files
committed
Revert as not needed/inconsistent with SQL REINDEX:
Suppress some NOTICE messages from REINDEX command. Euler Taveira de Oliveira
1 parent e35ea51 commit 87eb130

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/bin/scripts/reindexdb.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.6 2006/09/02 02:43:07 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.7 2006/09/02 17:10:17 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -229,13 +229,6 @@ reindex_one_database(const char *name, const char *dbname, const char *type,
229229

230230
conn = connectDatabase(dbname, host, port, username, password, progname);
231231

232-
/* Suppress some NOTICE messages from REINDEX command */
233-
if (quiet)
234-
{
235-
result = PQexec(conn, "SET client_min_messages = warning");
236-
PQclear(result);
237-
}
238-
239232
if (echo)
240233
printf("%s", sql.data);
241234
result = PQexec(conn, sql.data);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy