Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit87eb130

Browse files
committed
Revert as not needed/inconsistent with SQL REINDEX:
Suppress some NOTICE messages from REINDEX command. Euler Taveira de Oliveira
1 parente35ea51 commit87eb130

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/0202:43:07 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/scripts/reindexdb.c,v 1.7 2006/09/0217: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)

[8]ページ先頭

©2009-2025 Movatter.jp