This patch fixes a gratuituous string difference.  Barring objections
I'll apply shortly.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Index: typecmds.c
===================================================================
RCS file: /home/alvherre/Code/cvs/pgsql/src/backend/commands/typecmds.c,v
retrieving revision 1.97
diff -c -p -r1.97 typecmds.c
*** typecmds.c  4 Oct 2006 00:29:51 -0000       1.97
--- typecmds.c  29 Nov 2006 19:08:02 -0000
*************** AlterTypeNamespaceInternal(Oid typeOid, 
*** 2235,2241 ****
        if (typform->typtype == 'c' && !isCompositeType && errorOnTableType)
                ereport(ERROR,
                                (errcode(ERRCODE_WRONG_OBJECT_TYPE),
!                                errmsg("%s is a table's row type",
                                                format_type_be(typeOid)),
                                 errhint("Use ALTER TABLE SET SCHEMA 
instead.")));
  
--- 2235,2241 ----
        if (typform->typtype == 'c' && !isCompositeType && errorOnTableType)
                ereport(ERROR,
                                (errcode(ERRCODE_WRONG_OBJECT_TYPE),
!                                errmsg("\"%s\" is a table's row type",
                                                format_type_be(typeOid)),
                                 errhint("Use ALTER TABLE SET SCHEMA 
instead.")));
  
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to