From: Tom Lane <tgl@sss.pgh.pa.us>
To: Zot O'Connor <zot@ZotConsulting.com>
Cc: postgres sql <pgsql-sql@hub.org>
Subject: Re: [SQL] Views Readonly Still?
Date: Sat, 24 Jul 1999 19:38:02 -0400
Message-ID: <11299.932859482@sss.pgh.pa.us> (raw)
In-Reply-To: <379A0B9F.17418ED7@ZotConsulting.com>
"Zot O'Connor" <zot@ZotConsulting.com> writes:
> Are views readonly in 6.51 still?
A view as such is just a SELECT rule; if you want to make it
writable then you need to add some ON INSERT and ON UPDATE and
ON DELETE rules to cause the right things to happen wherever the
data is coming from. There's no way that the system can intuit
what you might think is the correct behavior...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, zot@ZotConsulting.com, pgsql-sql@hub.org
Subject: Re: [SQL] Views Readonly Still?
In-Reply-To: <11299.932859482@sss.pgh.pa.us>
References: <379A0B9F.17418ED7@ZotConsulting.com> <11299.932859482@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox