> On Wed, Sep 25, 2019 at 3:03 AM Kyotaro Horiguchi <[email protected]> > wrote: > > At Tue, 24 Sep 2019 09:06:27 -0300, Alvaro Herrera <[email protected]> > wrote in <[email protected]> > > 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.
v27-0001-Index-skip-scan.patch
Description: Binary data
