Re: ALTER command reworks - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ALTER command reworks
Date
Msg-id 21558.1358699304@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER command reworks  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Responses Re: ALTER command reworks
List pgsql-hackers
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.

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_upgrade and system() return value
Next
From: Robert Haas
Date:
Subject: Re: allowing privileges on untrusted languages