Re: Rethinking representation of partial-aggregate steps

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Rethinking representation of partial-aggregate steps
Дата
Msg-id CAKJS1f9=GpUn3eLorCM0XJz3BMaUhmXwC0ZX3Xk4q1=q_AXD4w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Rethinking representation of partial-aggregate steps  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Rethinking representation of partial-aggregate steps  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 27 June 2016 at 03:36, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Looking at this in the light of morning, I'm rather strongly tempted to
> invert the sense of the FINALIZE option, so that "simple" mode works out
> as zero, ie, select no options.  Maybe call it SKIPFINAL instead of
> FINALIZE?

Aggref calls this aggpartial, and I was tempted to invert that many
times and make it aggfinalize, but in the end didn't.
It seems nicer to me to keep it as a list of things that are done,
rather than to make one exception to that just so we can have the
simple mode as 0.

-- David Rowley                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Memory leak in Pl/Python
Следующее
От: Tom Lane
Дата:
Сообщение: Non-text EXPLAIN output for partial aggregation