Re: [PATCH] Make skipped sort explicit in EXPLAIN ANALYZE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Make skipped sort explicit in EXPLAIN ANALYZE
Дата
Msg-id 19766.1337953758@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [PATCH] Make skipped sort explicit in EXPLAIN ANALYZE  (Marti Raudsepp <marti@juffo.org>)
Ответы Re: [PATCH] Make skipped sort explicit in EXPLAIN ANALYZE  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-hackers
Marti Raudsepp <marti@juffo.org> writes:
> This is just a small clarity improvement. tuplesort_performsort()
> skips sorting entirely when the result set has 0 or 1 tuples, but
> EXPLAIN still says it's using "quicksort". The patch changes that to
> "skipped"

I'm not convinced this is an improvement; it's just one more value
to confuse people with.  And any implementation of quicksort is likely
to have a fast exit path for 0 or 1 item, so I don't think the existing
display is incorrect either.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: proclock table corrupted
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: pg_stat_statements temporary file