aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numutils.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-08-02 01:39:47 +1200
committerDavid Rowley <drowley@postgresql.org>2023-08-02 01:39:47 +1200
commitdeae1657ee6dd6f7b3effab3d44429d5434f5bbf (patch)
tree9853b737fb528bf345505867008b3a06a117e21b /src/backend/utils/adt/numutils.c
parentd3a38318ac614f20a9e2e163bba083d15be54f06 (diff)
downloadpostgresql-deae1657ee6dd6f7b3effab3d44429d5434f5bbf.tar.gz
postgresql-deae1657ee6dd6f7b3effab3d44429d5434f5bbf.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/numutils.c')
0 files changed, 0 insertions, 0 deletions