From ae4e6887a4eaa62ff3e47a16a8b2b6a91fa6a514 Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Tue, 9 Dec 2014 18:05:36 +0900 Subject: Silence REINDEX Previously REINDEX DATABASE and REINDEX SCHEMA produced a stream of NOTICE messages. Removing that since it is inconsistent for such a command to produce output without a VERBOSE option. --- src/backend/commands/indexcmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/commands/indexcmds.c') diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index a3e8a151413..cf4de7281d4 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -1936,7 +1936,7 @@ ReindexObject(const char *objectName, ReindexObjectType objectKind) if (reindex_relation(relid, REINDEX_REL_PROCESS_TOAST | REINDEX_REL_CHECK_CONSTRAINTS)) - ereport(NOTICE, + ereport(DEBUG1, (errmsg("table \"%s.%s\" was reindexed", get_namespace_name(get_rel_namespace(relid)), get_rel_name(relid)))); -- cgit v1.2.3