Re: AW: new relkind for view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>, Mark Hollomon <mhh(at)mindspring(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AW: new relkind for view
Date: 2000-10-16 22:02:52
Message-ID: 27714.971733772@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-10-16 22:03:48 Re: AW: new relkind for view
Previous Message Stephan Szabo 2000-10-16 21:36:37 Re: unique/references not honored when inheriting tables