Use INFO-level for reindex messages, rather than NOTICE.

Euler Taveira de Oliveira
This commit is contained in:
Bruce Momjian 2006-06-07 13:13:16 +00:00
parent 6ca917adff
commit 9c351695dc
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.139 2006/05/10 23:18:39 tgl Exp $
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.140 2006/06/07 13:13:16 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -1108,7 +1108,7 @@ ReindexDatabase(const char *databaseName, bool do_system, bool do_user)
/* functions in indexes may want a snapshot set */
ActiveSnapshot = CopySnapshot(GetTransactionSnapshot());
if (reindex_relation(relid, true))
ereport(NOTICE,
ereport(INFO,
(errmsg("table \"%s\" was reindexed",
get_rel_name(relid))));
CommitTransactionCommand();