Re: create or replace rule/view (fwd) - Mailing list pgsql-patches

From Neil Conway
Subject Re: create or replace rule/view (fwd)
Date
Msg-id 87y9an4lx6.fsf@mailbox.samurai.com
Whole thread Raw
In response to Re: create or replace rule/view (fwd)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: create or replace rule/view (fwd)  (Neil Conway <neilc@samurai.com>)
Re: create or replace rule/view (fwd)  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Tom Lane <tgl@sss.pgh.pa.us> writes:
> You can redefine the query that supports the view.  You cannot add,
> remove, rename, or change the datatypes of any columns of the view.

I've attached a revision of Gavin's patch that implements this
behavior (sorry it took so long, I've been busy with getting ready to
move into university). I also did some review of Gavin's code: updated
copyfuncs & equalfuncs, removed some superfluous function parameters,
fixed some indentation, and write some regression tests.

It probably still needs some review, however.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

Attachment

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: revised patch for PL/PgSQL table functions
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] pg_attribute.attisinherited ?