public inbox for [email protected]
help / color / mirror / Atom feedFrom: Jan Wieck <[email protected]>
To: Bruce Momjian <[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, 04 Mar 2004 19:08:19 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
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.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== [email protected] #
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