aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_spgist.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-08-02 01:41:21 +1200
committerDavid Rowley <drowley@postgresql.org>2023-08-02 01:41:21 +1200
commitf457f2ef140a9a218ded6befed6d7dc625aac3ec (patch)
tree8bf7ef4183552993270c21a31a98f4b5b9e348bd /src/backend/utils/adt/network_spgist.c
parentb0e390e6d1d68b92e9983840941f8f6d9e083fe0 (diff)
downloadpostgresql-f457f2ef140a9a218ded6befed6d7dc625aac3ec.tar.gz
postgresql-f457f2ef140a9a218ded6befed6d7dc625aac3ec.zip
Fix overly strict Assert in jsonpath code
This was failing for queries which try to get the .type() of a jpiLikeRegex. For example: select jsonb_path_query('["string", "string"]', '($[0] like_regex ".{7}").type()'); Reported-by: Alexander Kozhemyakin Bug: #18035 Discussion: https://postgr.es/m/18035-64af5cdcb5adf2a9@postgresql.org Backpatch-through: 12, where SQL/JSON path was added.
Diffstat (limited to 'src/backend/utils/adt/network_spgist.c')
0 files changed, 0 insertions, 0 deletions