Re: Slow query with backwards index scan - Mailing list pgsql-performance

From andrew@pillette.com
Subject Re: Slow query with backwards index scan
Date
Msg-id 200707282043.l6SKhwP08503@pillette.com
Whole thread Raw
In response to Slow query with backwards index scan  (Tilmann Singer <tils-pgsql@tils.net>)
List pgsql-performance
As other posters have pointed out, you can overcome the ORDER BY/LIMIT restriction on UNIONs with parentheses. I think
Imisbalanced the parentheses in my original post, which would have caused an error if you just copied and pasted. 

I don't think the limitation has to do with planning--just parsing the query.

pgsql-performance by date:

Previous
From: "Bruno Rodrigues Siqueira"
Date:
Subject: RES: select on 1milion register = 6s
Next
From: Tilmann Singer
Date:
Subject: Re: Slow query with backwards index scan