mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
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.
This commit is contained in:
@ -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))));
|
||||
|
Reference in New Issue
Block a user