| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Convert jsonpath's input function to report errors softly |
| Date: | 2022-12-24 20:22:00 |
| Message-ID: | E1p9B1s-000Djc-Ck@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Convert jsonpath's input function to report errors softly
Reviewed by Tom Lane
Discussion: https://postgr.es/m/a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e37fe1db6ef930f657be28fe764f7e642b93464a
Modified Files
--------------
src/backend/utils/adt/jsonpath.c | 116 +++++++++++-------
src/backend/utils/adt/jsonpath_exec.c | 3 +-
src/backend/utils/adt/jsonpath_gram.y | 87 ++++++++++----
src/backend/utils/adt/jsonpath_internal.h | 12 +-
src/backend/utils/adt/jsonpath_scan.l | 193 ++++++++++++++++++++++--------
src/include/utils/jsonpath.h | 7 +-
src/test/regress/expected/jsonpath.out | 18 +++
src/test/regress/sql/jsonpath.sql | 11 ++
8 files changed, 322 insertions(+), 125 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Dunstan | 2022-12-24 20:30:30 | pgsql: Convert contrib/isn's input functions to report errors softly |
| Previous Message | Tom Lane | 2022-12-24 20:01:29 | pgsql: Make the numeric-OID cases of regprocin and friends be non-throw |