16beta2 SQL parser: different defaults on absent_on_null

From: Martin Butter <martin(dot)butter(at)splendiddata(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: 16beta2 SQL parser: different defaults on absent_on_null
Date: 2023-07-14 05:53:14
Message-ID: 4484ffc1-187d-613e-13d9-d3ff3f30e7f9@splendiddata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While adapting a Java implementation of the SQL parser, I noticed that
in structures JsonArrayAgg, JsonArrayConstructor,
JsonArrayQueryConstructor and JsonObjectConstrutor, the absent_on_null
field defaults to TRUE.
But in JsonObjectAgg, absent_on_null defaults to FALSE.
Is that intentionally?

Regards,
Martin.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-07-14 05:57:29 Re: Potential memory leak in contrib/intarray's g_intbig_compress
Previous Message Michael Paquier 2023-07-14 05:02:28 Re: add non-option reordering to in-tree getopt_long