Re: Index Skip Scan

Поиск
Список
Период
Сортировка
От Dmitry Dolgov
Тема Re: Index Skip Scan
Дата
Msg-id CA+q6zcWUqeX18UJxMBP4m=4Sz2upS_FikooE07JT5zZryzBNpA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Index Skip Scan  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: Index Skip Scan  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
> On Wed, Sep 25, 2019 at 3:03 AM Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:
>
> At Tue, 24 Sep 2019 09:06:27 -0300, Alvaro Herrera <alvherre@2ndquadrant.com> wrote in
<20190924120627.GA12454@alvherre.pgsql>
> > On 2019-Sep-24, Kyotaro Horiguchi wrote:
> >
> > > Sorry, it's not a boolean. A tristate value. From the definition
> > > (Back, NoMove, Forward) = (-1, 0, 1), (dir1 == -dir2) if
> > > NoMovement did not exist. If it is not guranteed,
> > >
> > > (dir1 != 0 && dir1 == -dir2) ?
> >
> > Maybe just add ScanDirectionIsOpposite(dir1, dir2) with that
> > definition? :-)
>
> Yeah, sounds good to establish it as a part of ScanDirection's
> definition.

Yep, this way looks better.

Вложения

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

Предыдущее
От: Benjie Gillam
Дата:
Сообщение: Re: [PATCH] Sort policies and triggers by table name in pg_dump.
Следующее
От: Asim R P
Дата:
Сообщение: Re: Batch insert in CTAS/MatView code