Commit 309193bb authored by Bruce Momjian's avatar Bruce Momjian

Show schema name for REINDEX.

Greg Sabino Mullane
parent a1289917
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.196 2010/05/27 15:59:10 tgl Exp $ * $PostgreSQL: pgsql/src/backend/commands/indexcmds.c,v 1.197 2010/06/01 00:33:23 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1749,7 +1749,8 @@ ReindexDatabase(const char *databaseName, bool do_system, bool do_user) ...@@ -1749,7 +1749,8 @@ ReindexDatabase(const char *databaseName, bool do_system, bool do_user)
PushActiveSnapshot(GetTransactionSnapshot()); PushActiveSnapshot(GetTransactionSnapshot());
if (reindex_relation(relid, true, false)) if (reindex_relation(relid, true, false))
ereport(NOTICE, ereport(NOTICE,
(errmsg("table \"%s\" was reindexed", (errmsg("table \"%s.%s\" was reindexed",
get_namespace_name(get_rel_namespace(relid)),
get_rel_name(relid)))); get_rel_name(relid))));
PopActiveSnapshot(); PopActiveSnapshot();
CommitTransactionCommand(); CommitTransactionCommand();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment