Re: ScanDirections - Mailing list pgsql-patches

From Neil Conway
Subject Re: ScanDirections
Date
Msg-id 1140406344.2615.54.camel@localhost.localdomain
Whole thread Raw
In response to Re: ScanDirections  (James William Pye <pgsql@jwp.name>)
List pgsql-patches
On Sun, 2006-02-19 at 19:46 -0700, James William Pye wrote:
> In any case, some parts of the patch merely makes some code make use of the
> sdir.h macros instead of depending on -1/0/1--heapam in particular. At least
> those portions should be applied, no?

I agree: using the symbolic names for the ScanDirection alternatives is
more readable than using magic numbers, and costs us nothing.

-Neil



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ScanDirections
Next
From: "Luke Lonergan"
Date:
Subject: Re: WIP: further sorting speedup