summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorTom Lane2011-04-26 00:13:53 +0000
committerTom Lane2011-04-26 00:13:53 +0000
commit6dab96abaa8bd6775658d26517e288f4d5f6448f (patch)
tree2127444069c4c9973c2bb5d91dfd778bfe9af1e8 /src/backend
parent68ef051f5cf16f82a5368067a40ffba3c340b0d3 (diff)
Remove incorrect HINT for use of ALTER FOREIGN TABLE on the wrong relkind.
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
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/commands/tablecmds.c3
1 files changed, 1 insertions, 2 deletions
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