diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index 60eecb1497..437a6915b3 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -2247,8 +2247,7 @@ RenameRelation(Oid myrelid, const char *newrelname, ObjectType reltype) ereport(ERROR, (errcode(ERRCODE_WRONG_OBJECT_TYPE), errmsg("\"%s\" is not a foreign table", - RelationGetRelationName(targetrelation)), - errhint("Use ALTER FOREIGN TABLE instead."))); + RelationGetRelationName(targetrelation)))); /* * Don't allow ALTER TABLE on composite types. We want people to use ALTER