diff options
author | David Rowley <drowley@postgresql.org> | 2023-08-02 01:40:27 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-08-02 01:40:27 +1200 |
commit | b25acc302524cf61bee46e1aad5bebb276449270 (patch) | |
tree | b4da47d55c48fe40277e42f7a4e77c72b6bd78ad /src/backend/executor/nodeModifyTable.c | |
parent | 695f5deb7902865901eb2d50a70523af655c3a00 (diff) | |
download | postgresql-b25acc302524cf61bee46e1aad5bebb276449270.tar.gz postgresql-b25acc302524cf61bee46e1aad5bebb276449270.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/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions