Re: Getting rid of aggregate_dummy()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Getting rid of aggregate_dummy()
Дата
Msg-id 639266.1604326956@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Getting rid of aggregate_dummy()  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Getting rid of aggregate_dummy()
Список pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> On 01/11/2020 22:47, Tom Lane wrote:
>> With that, we don't actually need aggregate_dummy() to exist at
>> all, because it's never referenced.  Having "aggregate_dummy"
>> as the prosrc value for an aggregate function is now just a
>> random convention; any other string would do as well.  (We could
>> save a few bytes in pg_proc by choosing a shorter string, but
>> probably it's better to stick to the existing convention.)

> NULL would seem like the natural value for that.

I wouldn't be in favor of that unless we changed the prolang value
as well.  Which could certainly be considered, but it makes the
patch rather more invasive, and I'm not sure it's worth it.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Getting rid of aggregate_dummy()
Следующее
От: Georgios Kokolatos
Дата:
Сообщение: Re: Strange behavior with polygon and NaN