Re: What does RIR as in fireRIRrules stand for? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: What does RIR as in fireRIRrules stand for?
Date
Msg-id 20551.1440771658@sss.pgh.pa.us
Whole thread Raw
In response to Re: What does RIR as in fireRIRrules stand for?  (Andres Freund <andres@anarazel.de>)
Responses Re: What does RIR as in fireRIRrules stand for?  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2015-08-27 11:12:42 -0400, Tom Lane wrote:
>> I think an explanation in fireRIRrules' header comment would be fine.

> I was thinking of adding it to the file's header like
>  * NOTES
>  *      Some of the terms used in this file are of historic nature: "retrieve"
>  *      was the PostQUEL keyword for what today is SELECT. "RIR" stands for
>  *      "Retrieve-Instead-Retrieve", that is an ON SELECT INSTEAD rule (which
>  *      has to be unconditional and where only one rule can exist on each
>  *      relation).

> since both retrieve and RIR are used in a bunch of places.

Seems reasonable.  Maybe worth writing out the modern spelling a bit
further, "an ON SELECT DO INSTEAD SELECT rule", to make the parallel
to Retrieve-Instead-Retrieve perfectly clear.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: What does RIR as in fireRIRrules stand for?
Next
From: Nima Azizzadeh
Date:
Subject: Define two factor authentication for Postgresql Server