pgsql: Fix string comparison in jsonpath

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix string comparison in jsonpath
Date: 2019-08-12 03:28:27
Message-ID: E1hx10V-0006WQ-7e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/de0dc0b758ed7452ceee756d9d620c4393b3cb53

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

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2019-08-12 03:32:19 Re: pgsql: Adjust string comparison in jsonpath
Previous Message Alexander Korotkov 2019-08-12 03:27:38 pgsql: Fix string comparison in jsonpath