From 309193bbd348bd368476106ba3ca66e754a13770 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 1 Jun 2010 00:33:23 +0000 Subject: [PATCH] Show schema name for REINDEX. Greg Sabino Mullane --- src/backend/commands/indexcmds.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 482f5b3a38..86871e26a4 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -8,7 +8,7 @@ * * * 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) PushActiveSnapshot(GetTransactionSnapshot()); if (reindex_relation(relid, true, false)) ereport(NOTICE, - (errmsg("table \"%s\" was reindexed", + (errmsg("table \"%s.%s\" was reindexed", + get_namespace_name(get_rel_namespace(relid)), get_rel_name(relid)))); PopActiveSnapshot(); CommitTransactionCommand(); -- 2.40.0