Re: RULE regression test fragility? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: RULE regression test fragility?
Date
Msg-id CA+TgmobCfEs06WEtjpwYyEoNvBX_OF3KCdy7p-YEgi+P9Ddc_w@mail.gmail.com
Whole thread Raw
In response to Re: RULE regression test fragility?  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: RULE regression test fragility?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Oct 26, 2013 at 12:02 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> Imo what it does looks sane - it adds parentheses whenever a child of a
> set operation is a set operation again to make sure the order in which
> the generated set operations are parsed/interpreted stays the same.

But UNION ALL is associative.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Sameer Kumar
Date:
Subject: Re: Re: Using indexes for ORDER BY and PARTITION BY clause in windowing functions
Next
From: Robert Haas
Date:
Subject: Re: PL/Python: domain over array support