Re: [HACKERS] INSERT INTO view means what exactly?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jwieck(at)debis(dot)com (Jan Wieck)
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] INSERT INTO view means what exactly?
Date: 1999-05-25 18:53:28
Message-ID: 3852.927658408@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

jwieck(at)debis(dot)com (Jan Wieck) writes:
> Tom Lane wrote:
>> regression=> INSERT INTO z VALUES ('bar');
>> INSERT 411636 1
>>
>> OK, where'd tuple 411636 go?

> Tuple 411636 went into data/base/regression/x :-)

.../z, you meant --- yup, I see you are right. Weird. I didn't
realize that views had an underlying table.

> It might be a good idea to abort if there's a SELECT rule on
> the result relation but not one for the actual operation
> performed. I'll put that onto my personal TODO for after
> v6.5.

I agree, that would be a good safety feature.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-05-25 19:00:26 Re: [HACKERS] pg_dump core dump, upgrading from 6.5b1 to 5/24 snapshot
Previous Message Tom Lane 1999-05-25 18:48:46 Re: [HACKERS] create index updates nrows statistics