]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix string comparison in jsonpath
authorAlexander Korotkov <akorotkov@postgresql.org>
Mon, 12 Aug 2019 03:19:19 +0000 (06:19 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Mon, 12 Aug 2019 03:21:50 +0000 (06:21 +0300)
commitde0dc0b758ed7452ceee756d9d620c4393b3cb53
tree869e41ae9ac8a00b4781528df56f2bac66e266af
parent3218ff5c6aea5841ab547ecca26927716419fe4b
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
src/backend/utils/adt/jsonpath_exec.c