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: Teach jsonpath string() to unwrap in lax mode
Date: Mon, 17 Jun 2024 14:38:55 +0000
Message-ID: <E1sJDVW-001twu-W9@gemulon.postgresql.org> (raw)

Teach jsonpath string() to unwrap in lax mode

This was an ommission in commit 66ea94e, and brings it into compliance
with both other methods and the standard.

Per complaint from David Wheeler.

Author: David Wheeler, Jeevan Chalke
Reviewed-by: Chapman Flack

Discussion: https://postgr.es/m/A64AE04F-4410-42B7-A141-7A7349260F4D@justatheory.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/653d3969bb013f14c4a6884a253ad9676caf8166

Modified Files
--------------
doc/src/sgml/func.sgml                       |  5 ++++-
src/backend/utils/adt/jsonpath_exec.c        |  3 +++
src/test/regress/expected/jsonb_jsonpath.out | 12 +++++++++++-
src/test/regress/sql/jsonb_jsonpath.sql      |  1 +
4 files changed, 19 insertions(+), 2 deletions(-)



Message-ID: <E1sJDVW-001twu-W9@gemulon.postgresql.org>
Permalink:  ../E1sJDVW-001twu-W9@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sJDVW-001twu-W9@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Teach jsonpath string() to unwrap in lax mode
  In-Reply-To: <E1sJDVW-001twu-W9@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