Re: SQL/JSON revisited - Mailing list pgsql-hackers

From Erik Rijkers
Subject Re: SQL/JSON revisited
Date
Msg-id 4bd6d66f-f89a-6667-008e-323121aa84eb@xs4all.nl
Whole thread Raw
In response to Re: SQL/JSON revisited  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Op 3/29/23 om 12:27 schreef Alvaro Herrera:
> On 2023-Mar-28, Erik Rijkers wrote:
> 
>> In the json_arrayagg() description, it says:
>> 'If ABSENT ON NULL is specified, any NULL values are omitted.'
>> That's true, but as omitting NULL values is the default (i.e., also without
>> that clause) maybe it's better to say:
>> 'Any NULL values are omitted unless NULL ON NULL is specified'
> 
> Doh, somehow I misread your report and modified the json_object()
> documentation instead after experimenting with it (so now the
> ABSENT/NULL ON NULL clause is inconsistenly described everywhere).
> Would you mind submitting a patch fixing this mistake?

I think the json_object text was OK.  Attached are some changes where 
they were needed IMHO.

Erik

> 
> ... and pushed it now, after some more meddling.
> 
> I'll rebase the rest of the series now.
>
Attachment

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: BufmgrCommit no-op since 2008, remaining uses?
Next
From: "Drouvot, Bertrand"
Date:
Subject: Re: Autogenerate some wait events code and documentation