Re: AW: new relkind for view - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: AW: new relkind for view
Date
Msg-id 200010162203.SAA17086@candle.pha.pa.us
Whole thread Raw
In response to Re: AW: new relkind for view  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
TODO updated.

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Added to TODO>
> >> 
> >> I think this is for new todo items:
> >> create insert, update and delete rules for simple one table views
> >> change elog for complex view ins|upd|del to "cannot {ins|upd|del}
> >> [into|from] complex view without an on {ins|upd|del} rule"
> >> add the functionality for "with check option" clause of create view
> 
> The second of these three items is done already (in the rewriter,
> not the executor):
> 
> regression=# create view vv1 as select * from int4_tbl;
> CREATE
> regression=# insert into vv1 values (33);
> ERROR:  Cannot insert into a view without an appropriate rule
> 
>             regards, tom lane
> 


--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AW: new relkind for view
Next
From: Peter Eisentraut
Date:
Subject: Re: AW: Backup, restore & pg_dump