Per discussion, removing the hint seems better than correcting it because
the adjacent analogous cases in RenameRelation don't have any hints, and
nobody seems to have missed 'em.
Shigeru Hanada
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