On 3/23/22 16:56, Justin Pryzby wrote:
> On Wed, Mar 23, 2022 at 03:49:17PM -0400, Andrew Dunstan wrote:
>> On 3/23/22 08:24, Justin Pryzby wrote:
>>> At least 0002-SQL-JSON-constructors-v64.patch has an issue with nodes,
>>> per COPY_PARSE_PLAN_TREES.
>>>
>>> +ERROR: unrecognized node type: 157
>> I just tried to reproduce this and was unable to. Ubuntu 20.04, gcc 9.4.0.
>>
>> the build was done with CPPFLAGS=-DCOPY_PARSE_PLAN_TREES. To be on the
>> safe side I took ccache out of the equation.
>>
>> Can you give me any more details?
> Sorry, the issue was actually with
>
> #define RAW_EXPRESSION_COVERAGE_TEST
>
> make check is enough to see it:
>
> @@ -6,181 +6,78 @@
> (1 row)
>
> SELECT JSON_OBJECT(RETURNING json);
> - json_object
> --------------
> - {}
> -(1 row)
> -
> +ERROR: unrecognized node type: 157
> [...]
Here's a new patch set that fixes this and several similar issues.
Thanks to my colleague Masahiko Sawada for providing fixes for some of
these at very short notice.
I wonder if we should add these compile flags to the cfbot's setup?
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com