public inbox for [email protected]
help / color / mirror / Atom feedFrom: Bruce Momjian <[email protected]>
To: Jan Wieck <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: Fabien COELHO <[email protected]>
Cc: PostgreSQL Patches <[email protected]>
Subject: Re: "ALSO" keyword to "CREATE RULE" patch
Date: Thu, 4 Mar 2004 19:19:52 -0500 (EST)
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
Jan Wieck wrote:
> Bruce Momjian wrote:
>
> > Jan Wieck wrote:
> >> Tom Lane wrote:
> >>
> >> > Fabien COELHO <[email protected]> writes:
> >> >> Most of the patch deals with the documentation, which is rather ugly
> >> >> because it keeps telling about "INSTEAD" vs "non-INSTEAD" rules, as there
> >> >> is no name for the default behavior. I think "ALSO" fixes this issue as it
> >> >> clarifies the explanations.
> >> >
> >> > Hmm ... I find that argument much more convincing than any of the others
> >> > ...
> >> >
> >> > Jan, what do you think? You invented this command's syntax IIRC.
> >>
> >> I did not. We inherited it from Postgres 4.2. If people think an ALSO
> >> keyword will clearify things, what about renaming the whole CREATE RULE
> >> into something along the line CREATE QUERY REWRITE MACRO?
> >
> > Are you saying you don't want ALSO added?
> >
>
> No, I am saying that CREATE RULE is so often misinterpreted to work like
> a trigger and when we explain that it is more like Macro expansion
> before the query is executed they understand better. CREATE RULE itself
> is just vague, with or without ALSO.
True.
--
Bruce Momjian | http://candle.pha.pa.us
[email protected] | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
view thread (15+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: "ALSO" keyword to "CREATE RULE" patch
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox