aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonpath_exec.c
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2024-04-08 16:02:29 +0900
committerAmit Langote <amitlan@postgresql.org>2024-04-08 16:02:29 +0900
commit561b74ddb8781f8c0511f6473c51fb51c8c6b087 (patch)
tree78603f13636119e93393db6cf67e8b4e4f380583 /src/backend/utils/adt/jsonpath_exec.c
parentb453a7a16a7ed2ba96522e521143bc652b74875f (diff)
downloadpostgresql-561b74ddb8781f8c0511f6473c51fb51c8c6b087.tar.gz
postgresql-561b74ddb8781f8c0511f6473c51fb51c8c6b087.zip
Fix restriction on specifying KEEP QUOTES in JSON_QUERY()
Currently, transformJsonFuncExpr() enforces some restrictions on the combinations of QUOTES and WRAPPER clauses that can be specified in JSON_QUERY(). The intent was to only prevent the useless combination WITH WRAPPER OMIT QUOTES, but the coding prevented KEEP QUOTES too, which is not helpful. Fix that.
Diffstat (limited to 'src/backend/utils/adt/jsonpath_exec.c')
0 files changed, 0 insertions, 0 deletions