forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit67f3a69
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 parentd1ef563 commit67f3a69
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
982 | 982 |
| |
983 | 983 |
| |
984 | 984 |
| |
985 |
| - | |
| 985 | + | |
| 986 | + | |
986 | 987 |
| |
987 | 988 |
| |
988 | 989 |
| |
|
0 commit comments
Comments
(0)