Re: Getting rid of aggregate_dummy()

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Getting rid of aggregate_dummy()
Дата
Msg-id 7b258660-33ce-7689-e2a1-1deb37c060ad@iki.fi
обсуждение исходный текст
Ответ на Getting rid of aggregate_dummy()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Getting rid of aggregate_dummy()
Список pgsql-hackers
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.

- Heikki



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

Предыдущее
От: Ranier Vilela
Дата:
Сообщение: Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)