Re: [HACKERS] ordering op for WHERE

2012-01-03 Thread Robert Haas
On Tue, Dec 27, 2011 at 10:48 PM, YAMAMOTO Takashi
y...@mwd.biglobe.ne.jp wrote:
 does it make sense to teach the planner (and the executor?) use an ordering op
 to optimize queries like the following?

        select * from t where a - 1000  10

Seems useful to me.  I'm not sure how hard it is, though.

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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] ordering op for WHERE

2011-12-28 Thread YAMAMOTO Takashi
hi,

does it make sense to teach the planner (and the executor?) use an ordering op
to optimize queries like the following?

select * from t where a - 1000  10

YAMAMOTO Takashi

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers