forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf457f2e
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 parentb0e390e commitf457f2e
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
978 | 978 |
| |
979 | 979 |
| |
980 | 980 |
| |
981 |
| - | |
| 981 | + | |
| 982 | + | |
982 | 983 |
| |
983 | 984 |
| |
984 | 985 |
| |
|
0 commit comments
Comments
(0)