Re: ScanDirections

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: ScanDirections
Дата
Msg-id 1140406344.2615.54.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: ScanDirections  (James William Pye <pgsql@jwp.name>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ScanDirections
Следующее
От: "Luke Lonergan"
Дата:
Сообщение: Re: WIP: further sorting speedup