Re: Updatable views - Mailing list pgsql-patches

From Tom Lane
Subject Re: Updatable views
Date
Msg-id 5033.1156431645@sss.pgh.pa.us
Whole thread Raw
In response to Re: Updatable views  (Bernd Helmle <mailings@oopsware.de>)
Responses Re: Updatable views  ("Jaime Casanova" <systemguards@gmail.com>)
Re: [HACKERS] Updatable views  (Bernd Helmle <mailings@oopsware.de>)
List pgsql-patches
Bernd Helmle <mailings@oopsware.de> writes:
> While working on Alvaro's suggestions to fix the code i got the opinion
> that we need to reject any attempts to name a user defined rule
> as

> "_INSERT"
> "_NOTHING_INSERT"
> "_DELETE"
> "_NOTHING_DELETE"
> "_UPDATE"
> "_NOTHING_UPDATE"

If the code is dependent on recognizing names to know what it's doing,
then I'd say you have a fundamentally broken approach.  Consider adding
a flag column to pg_rewrite to distinguish these rules, instead.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: Updatable views
Next
From: "Jaime Casanova"
Date:
Subject: Re: Updatable views