Re: extend JSON_TABLE top level path expression - Mailing list pgsql-hackers

From jian he
Subject Re: extend JSON_TABLE top level path expression
Date
Msg-id CACJufxH0K-H7xDC94rh87+R7zX1qP8ZpYgLu+JwX6q3jCpnFuw@mail.gmail.com
Whole thread Raw
In response to extend JSON_TABLE top level path expression  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
hi.

https://www.postgresql.org/docs/current/functions-json.html#FUNCTIONS-SQLJSON-TABLE
JSON_TABLE (
    context_item, path_expression [ AS json_path_name ] [ PASSING {
value AS varname } [, ...] ]

I quickly realized I didn't have tests that path_expression is not String
A_Const and PASSING clause is not NULL.  so I changed existing tests
to cover this
scenario.

The rest of the patch remains the same as v1.


--
jian
https://www.enterprisedb.com/

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Simplify code building the LR conflict messages
Next
From: Ajin Cherian
Date:
Subject: Re: Improve pg_sync_replication_slots() to wait for primary to advance