ordering op for WHERE

Поиск
Список
Период
Сортировка
Искать

ordering op for WHERE

От:
yamt@mwd.biglobe.ne.jp (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

Re: ordering op for WHERE

От:
Robert Haas <robertmhaas@gmail.com>
Дата:
On Tue, Dec 27, 2011 at 10:48 PM, YAMAMOTO Takashi
 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

FAQ