Have REINDEX use NOTICE, so it can be suppressed.
authorBruce Momjian
Wed, 7 Jun 2006 17:20:17 +0000 (17:20 +0000)
committerBruce Momjian
Wed, 7 Jun 2006 17:20:17 +0000 (17:20 +0000)
src/backend/commands/indexcmds.c

index 7aa7510e6ef447fe6f034e5e1d96d0fbacfb9e7f..e3813a2ca53c29fbacd65f5c1df35c194889217a 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.140 2006/06/07 13:13:16 momjian Exp $
+ *   $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.141 2006/06/07 17:20:17 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(INFO,
+           ereport(NOTICE,
                    (errmsg("table \"%s\" was reindexed",
                            get_rel_name(relid))));
        CommitTransactionCommand();