forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6689909
committed
Fix overly strict Assert in jsonpath code
This was failing for queries which try to get the .type() of ajpiLikeRegex. For example:select jsonb_path_query('["string", "string"]', '($[0] like_regex ".{7}").type()');Reported-by: Alexander KozhemyakinBug: #18035Discussion:https://postgr.es/m/18035-64af5cdcb5adf2a9@postgresql.orgBackpatch-through: 12, where SQL/JSON path was added.1 parent9edf72a commit6689909
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
962 | 962 |
| |
963 | 963 |
| |
964 | 964 |
| |
965 |
| - | |
| 965 | + | |
| 966 | + | |
966 | 967 |
| |
967 | 968 |
| |
968 | 969 |
| |
|
0 commit comments
Comments
(0)