Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle
Date
Msg-id 3073cc9b0901261939h33da747el82503154a4cd3609@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle  (Josh Berkus <josh@agliodbs.com>)
Responses Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle  (Josh Berkus <josh@agliodbs.com>)
Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Mon, Jan 26, 2009 at 8:47 PM, Josh Berkus <josh@agliodbs.com> wrote:
> Bruce,
>
>>> yes. we detect that and send a warning saying that there not be any rules
>>
>> OK, so we are going to need an option to suppress that warning, even
>> without the problems of upgrades and customization.
>
> Per my response earlier, I think we really logically need an error if the
> user specifies UPDATABLE.
>

a view should be updatable by default if the query expression is
updatable... what we need is something to make a view READ ONLY even
if it should be updatable by spec...

having said that, i don't think that inventing new syntax is the way
to go... a reloption seems better (thinking a little more, it could be
a problem if the user changes the reloptions of an already created
view)

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: Re: 8.4 release planning
Next
From: "Joshua D. Drake"
Date:
Subject: Re: 8.4 release planning