Re: BETWEEN Help

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BETWEEN Help
Дата
Msg-id 200204142356.g3ENuaI16436@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: BETWEEN Help  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BETWEEN Help  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Is there special optimizer/index handling needed for BETWEEN that wasn't
> > needed before because it was transformed into AND/OR comparisons?
>
> Yup, that's one place that will need to be taught about it.

That was actually a reason I was wondering if it was worth changing our
current BETWEEN code.  The optimizer already is complicated and trying
to do BETWEEN rather than the more simpler statements didn't seem like a
win.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: TOAST index naming consistency
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: TOAST index naming consistency