Re: SQL/JSON: functions
| От | Justin Pryzby |
|---|---|
| Тема | Re: SQL/JSON: functions |
| Дата | |
| Msg-id | 20220323205639.GV28503@telsasoft.com обсуждение |
| Ответ на | Re: SQL/JSON: functions (Andrew Dunstan <andrew@dunslane.net>) |
| Список | pgsql-hackers |
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
[...]
В списке pgsql-hackers по дате отправления: