Re: wrong hint message for ALTER FOREIGN TABLE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shigeru Hanada <hanada(at)metrosystems(dot)co(dot)jp>
Cc: "pgsql-hackers >> PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: wrong hint message for ALTER FOREIGN TABLE
Date: 2011-04-25 14:17:45
Message-ID: 12884.1303741065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Shigeru Hanada <hanada(at)metrosystems(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2011-04-25 14:18:52 Re: "stored procedures"
Previous Message Merlin Moncure 2011-04-25 14:00:21 Re: "stored procedures"