Re: Getting rid of aggregate_dummy() - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Getting rid of aggregate_dummy()
Date
Msg-id 7b258660-33ce-7689-e2a1-1deb37c060ad@iki.fi
Whole thread Raw
In response to Getting rid of aggregate_dummy()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Getting rid of aggregate_dummy()
List 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 by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Dereference before NULL check (src/backend/storage/ipc/latch.c)