Re: updated SORT/LIMIT patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: updated SORT/LIMIT patch
Дата
Msg-id 2097.1178241568@sss.pgh.pa.us
обсуждение исходный текст
Ответ на updated SORT/LIMIT patch  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: updated SORT/LIMIT patch  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-patches
Gregory Stark <stark@enterprisedb.com> writes:
> Updated patch against cvs update in case it makes applying easier.

Applied with revisions --- notably, I avoided adding any overhead to
HEAPCOMPARE() by the expedient of reversing the logical sort order
before heapify'ing.  We couldn't have done that before the NULLS_FIRST
patch went in, but now it's trivial to make the sort order reverse
fully.

Since you didn't include any documentation patch for the
optimize_bounded_sort GUC variable, I assumed it was meant only for
debugging and hid it behind #ifdef DEBUG_BOUNDED_SORT.

            regards, tom lane

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: document plperl argument and return value representation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: document plperl argument and return value representation