Skip site navigation (1) Skip section navigation (2)

Re: Rules and Views

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Rules and Views
Date: 2002-07-31 05:22:20
Message-ID: 25080.1028092940@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Curt Sampson <cjs(at)cynic(dot)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 view
	You need an unconditional ON INSERT DO INSTEAD rule

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2002-07-31 05:29:24
Subject: Re: [HACKERS] DROP COLUMN round 4
Previous:From: Christopher Kings-LynneDate: 2002-07-31 05:19:16
Subject: Re: Open 7.3 items

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group