From: Brook Milligan <brook@biology.nmsu.edu>
To: kyle@actarg.com
Cc: pgsql-sql@postgresql.org
Subject: Re: question on update/delete rules on views
Date: Wed, 17 May 2000 15:01:35 -0600 (MDT)
Message-ID: <200005172101.PAA21328@biology.nmsu.edu> (raw)
In-Reply-To: <39230546.62BE1AD9@actarg.com>
References: <3921E506.82424CAF@actarg.com>
<200005171352.HAA19867@biology.nmsu.edu>
<3922B7A2.5BEF5F5E@actarg.com>
<200005171751.LAA20341@biology.nmsu.edu>
<39230546.62BE1AD9@actarg.com>
BTW, do you have an equally sensible explanation of how the "where condition"
that is part of the rule syntax differs from the where clause that comes after
the "do instead"?
I don't know what you mean by these two different where conditions.
To my understanding the only instance of a where condition in the rule
is in the "do" part. Think of triggering the "do" part individually
for each view tuple to be updated. If you wish to act on a table, you
must identify how the parts of the current tuple identify a tuple or
tuples in the target table. That is the sole role of the "where"
condition in the "do" part of the rule.
Cheers,
Brook
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: brook@biology.nmsu.edu, kyle@actarg.com
Subject: Re: question on update/delete rules on views
In-Reply-To: <200005172101.PAA21328@biology.nmsu.edu>
References: <3921E506.82424CAF@actarg.com> <200005171352.HAA19867@biology.nmsu.edu> <3922B7A2.5BEF5F5E@actarg.com> <200005171751.LAA20341@biology.nmsu.edu> <39230546.62BE1AD9@actarg.com> <200005172101.PAA21328@biology.nmsu.edu>
* 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