Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option
Date: 2014-08-25 22:22:58
Message-ID: 20140825222258.GC14956@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Mon, Aug 25, 2014 at 11:30:53PM +0200, Andres Freund wrote:
> On 2014-08-25 21:06:43 +0000, Bruce Momjian wrote:
> > Throw error for ALTER TABLE RESET of an invalid option
> >
> > Also adjust pg_upgrade to not use this method for optional TOAST table
> > creation.
> >
> > Patch by Fabrízio de Royes Mello
>
> I still think this is a bad idea and should rather be reverted.

Uh, which idea don't you like. I thought the discussion had a clear
conclusion.

The only comment I see from you on the thread is:

> Why not simply not do anything? This doesn't prevent any bugs and
> requiring pg-upgrade specific checks in there seems absurd. Also
> somebody might use it for similar purposes.

but it seems most people says it should throw an error, the strongest
argument being the RESET throws an error for an invalid setting.

Is there something you want to re-discuss, or are you just re-stating
your objection, and if so, for what purpose --- you have not added any
additional information for people to think about.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-08-25 23:44:06 Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option
Previous Message Andres Freund 2014-08-25 21:30:53 Re: pgsql: Throw error for ALTER TABLE RESET of an invalid option