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.")));