Re: support for MERGE - Mailing list pgsql-hackers

From Andres Freund
Subject Re: support for MERGE
Date
Msg-id 20220402162833.32tosx5yae477s4p@alap3.anarazel.de
Whole thread Raw
In response to Re: support for MERGE  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Hi,

On 2022-04-02 17:02:01 +0200, Alvaro Herrera wrote:
> There's no bug here and this is actually intentional: if the map is
> NULL, this function should not be called.

This made me, again, wonder if we should add a pg_nonnull attibute to c.h. The
compiler can probably figure it out in this case, but there's plenty cases it
can't, because the function definition is in a different translation unit. And
IMO it helps humans too.

Regards,

Andres



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: merge documentation fix
Next
From: Alvaro Herrera
Date:
Subject: Re: CLUSTER on partitioned index