pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix string comparison in jsonpath
Date: Mon, 12 Aug 2019 03:27:38 +0000
Message-ID: <E1hx0zi-0006VC-Tq@gemulon.postgresql.org> (raw)

Fix string comparison in jsonpath

Take into account pg_server_to_any() may return input string "as is".

Reported-by: Andrew Dunstan, Thomas Munro
Discussion: https://postgr.es/m/0ed83a33-d900-466a-880a-70ef456c721f%402ndQuadrant.com
Author: Alexander Korotkov, Thomas Munro
Backpatch-through: 12

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/251c8e39bc6b0a3ff1620d9ac10888a7660e6b88

Modified Files
--------------
src/backend/utils/adt/jsonpath_exec.c | 37 +++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1hx0zi-0006VC-Tq@gemulon.postgresql.org>
Permalink:  ../E1hx0zi-0006VC-Tq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hx0zi-0006VC-Tq@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: akorotkov@postgresql.org
  Subject: Re: pgsql: Fix string comparison in jsonpath
  In-Reply-To: <E1hx0zi-0006VC-Tq@gemulon.postgresql.org>
  References: <E1hx0zi-0006VC-Tq@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