Re: wrong hint message for ALTER FOREIGN TABLE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: wrong hint message for ALTER FOREIGN TABLE
Date
Msg-id 12884.1303741065@sss.pgh.pa.us
Whole thread Raw
In response to wrong hint message for ALTER FOREIGN TABLE  (Shigeru Hanada <hanada@metrosystems.co.jp>)
Responses Re: wrong hint message for ALTER FOREIGN TABLE  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Shigeru Hanada <hanada@metrosystems.co.jp> writes:
> I noticed that ALTER FOREIGN TABLE RENAME TO emits a wrong hint message 
> if the object was not a foreign table.  ISTM that the hint message is 
> not necessary there. Attached patch removes the hint message.

Surely it would be better to make the hint correct (ie, "Use ALTER TABLE")
rather than just nuke it?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: "stored procedures"
Next
From: "Kevin Grittner"
Date:
Subject: Re: "stored procedures"