Re: Reconsidering the behavior of ALTER COLUMN TYPE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Reconsidering the behavior of ALTER COLUMN TYPE
Date
Msg-id 11855.1434118075@sss.pgh.pa.us
Whole thread Raw
In response to Re: Reconsidering the behavior of ALTER COLUMN TYPE  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Thu, Jun 11, 2015 at 03:41:49PM -0500, Merlin Moncure wrote:
>> On Thu, Jun 11, 2015 at 3:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> In any case, we oughta use two different error messages for the two cases,
>>> as per my comment in the above thread.  That seems like a back-patchable
>>> bug fix, though of course any semantics change should only be in HEAD.

>> I have a slight preference to keep it to tightening up the wording on
>> both the hint and the error (for example, "Perhaps you meant USING
>> foo::type?") but leaving the behavior alone.

> +1.  The HINT could certainly provide situation-specific help.

Fair enough, I'll go fix that but leave the semantics alone.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: On columnar storage
Next
From: Fujii Masao
Date:
Subject: Re: reaper should restart archiver even on standby