pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Convert jsonpath's input function to report errors softly
Date: Sat, 24 Dec 2022 20:22:00 +0000
Message-ID: <E1p9B1s-000Djc-Ck@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1p9B1s-000Djc-Ck@gemulon.postgresql.org>
Permalink:  ../E1p9B1s-000Djc-Ck@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p9B1s-000Djc-Ck@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Convert jsonpath's input function to report errors softly
  In-Reply-To: <E1p9B1s-000Djc-Ck@gemulon.postgresql.org>
  References: <E1p9B1s-000Djc-Ck@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox