Patch attached to show the schema *and* table name when doing 
a REINDEX DATABASE.

-- 
Greg Sabino Mullane g...@endpoint.com g...@turnstep.com
End Point Corporation
PGP Key: 0x14964AC8
Index: backend/commands/indexcmds.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/commands/indexcmds.c,v
retrieving revision 1.195
diff -c -r1.195 indexcmds.c
*** backend/commands/indexcmds.c        22 Mar 2010 15:24:11 -0000      1.195
--- backend/commands/indexcmds.c        5 Apr 2010 16:21:02 -0000
***************
*** 1721,1727 ****
                PushActiveSnapshot(GetTransactionSnapshot());
                if (reindex_relation(relid, true, false))
                        ereport(NOTICE,
!                                       (errmsg("table \"%s\" was reindexed",
                                                        get_rel_name(relid))));
                PopActiveSnapshot();
                CommitTransactionCommand();
--- 1721,1728 ----
                PushActiveSnapshot(GetTransactionSnapshot());
                if (reindex_relation(relid, true, false))
                        ereport(NOTICE,
!                                       (errmsg("table \"%s.%s\" was reindexed",
!                                                       
get_namespace_name(get_rel_namespace(relid)),
                                                        get_rel_name(relid))));
                PopActiveSnapshot();
                CommitTransactionCommand();

Attachment: pgp7eZBI5wXGU.pgp
Description: PGP signature

Reply via email to