Re: ALTER command reworks - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ALTER command reworks
Date
Msg-id 20130121151215.GB4526@alvh.no-ip.org
Whole thread Raw
In response to Re: ALTER command reworks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane escribió:
> Kohei KaiGai <kaigai@kaigai.gr.jp> writes:
> > About ALTER FUNCTION towards aggregate function, why we should raise
> > an error strictly?
>
> I agree we probably shouldn't --- traditionally we have allowed that,
> AFAIR, so changing it would break existing applications for little
> benefit.

Okay, I have pushed the version I posted last week.

> Similarly, you should not be throwing error when ALTER TABLE is applied
> to a view, sequence, etc, and the command would otherwise be sensible.

As far as ALTER some-obj RENAME goes, this is already working, so I
haven't changed anything.

Thanks,

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_dump transaction's read-only mode
Next
From: Phil Sorber
Date:
Subject: Re: pg_ctl idempotent option