Re: Rules and Views - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Rules and Views
Date
Msg-id 25080.1028092940@sss.pgh.pa.us
Whole thread Raw
In response to Re: Rules and Views  (Curt Sampson <cjs@cynic.net>)
Responses Re: Rules and Views  (Curt Sampson <cjs@cynic.net>)
Re: Rules and Views  (Hannu Krosing <hannu@tm.ee>)
List pgsql-hackers
Curt Sampson <cjs@cynic.net> writes:
> On Wed, 31 Jul 2002, Tom Lane wrote:
>> Well, to my mind that's what the error message says now.  The reason
>> it didn't help you was that you *did* have a rule ... but it didn't
>> completely override the view insertion.

> Right, like I said, my model was wrong. I didn't think of the error
> message as being an "insert behaviour" that had to be overridden; I
> thought of it as a "there is no behaviour right now" message.

Hm.  How about

ERROR:  Cannot insert into a viewYou need an unconditional ON INSERT DO INSTEAD rule
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Open 7.3 items
Next
From: Curt Sampson
Date:
Subject: Re: Rules and Views