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 3073cc9b0901261421o3cdf79c2kb757026d8b45cfb8@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle  (Bruce Momjian <bruce@momjian.us>)
Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On Mon, Jan 26, 2009 at 5:18 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Tom Lane wrote:
>> Bernd Helmle <mailings@oopsware.de> writes:
>> > Or what about
>> > CREATE [OR REPLACE] [UPDATABLE] VIEW ... ?
>> > This looks closer to TEMP|TEMPORARY VIEW, which we already have.
>>
>> But per spec, UPDATABLE should be the default (if not now, then
>> eventually).  Are you proposing
>>       CREATE [OR REPLACE] [[NOT] UPDATABLE] VIEW ...
>> ?  Seems confusing.
>
> UNUPDATABLE?  :-)
>
> BTW, how do we handle cases where the query cannot be updatable, e.g.
> aggregates?  Do we throw a warning?
>

yes. we detect that and send a warning saying that there not be any rules


--
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: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle
Next
From: Josh Berkus
Date:
Subject: Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle