Fix string comparison in jsonpath

Alexander Korotkov <akorotkov@postgresql.org>

Commit: de0dc0b758ed7452ceee756d9d620c4393b3cb53
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2019-08-12T03:21:50Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/utils/adt/jsonpath_exec.c modified +29 −8

Discussion

Cited messages not in the archive: 0ed83a33-d900-466a-880a-70ef456c721f@2ndQuadrant.com