diff options
author | David Rowley <drowley@postgresql.org> | 2023-08-02 01:41:55 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-08-02 01:41:55 +1200 |
commit | 74a5bf1b676f75f67f63e57db7e97edd8a1e923f (patch) | |
tree | 3c669a36037cce27263c99fa409559c8c1425726 /src/backend/access/gist/gistget.c | |
parent | 730f983effa51f578e85db27a5b4b906725ecd7a (diff) | |
download | postgresql-74a5bf1b676f75f67f63e57db7e97edd8a1e923f.tar.gz postgresql-74a5bf1b676f75f67f63e57db7e97edd8a1e923f.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/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions