Re: Reconsidering the behavior of ALTER COLUMN TYPE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reconsidering the behavior of ALTER COLUMN TYPE
Date: 2015-06-12 14:07:55
Message-ID: 11855.1434118075@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Noah Misch <noah(at)leadboat(dot)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(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2015-06-12 14:13:38 Re: reaper should restart archiver even on standby
Previous Message Merlin Moncure 2015-06-12 13:56:42 Re: On columnar storage