]> granicus.if.org Git - postgresql/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:26:13 +0000 (06:26 +0300)
commit251c8e39bc6b0a3ff1620d9ac10888a7660e6b88
tree4287b390ac6289cb44b3dfefd0fc2096974ca2fd
parentb43f7c117e667fb51df36ca62e6c86054b0f8d03
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