forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0a02e2a
committed
GIN support for @@ and @? jsonpath operators
This commit makes existing GIN operator classes jsonb_ops and json_path_opssupport "jsonb @@ jsonpath" and "jsonb @? jsonpath" operators. Basic idea isto extract statements of following form out of jsonpath. key1.key2. ... .keyN = constThe rest of jsonpath is rechecked from heap.Catversion is bumped.Discussion:https://postgr.es/m/fcc6fc6a-b497-f39a-923d-aa34d0c588e8%402ndQuadrant.comAuthor: Nikita Glukhov, Alexander KorotkovReviewed-by: Jonathan Katz, Pavel Stehule1 parent7241911 commit0a02e2a
File tree
11 files changed
+1456
-78
lines changed- doc/src/sgml
- src
- backend/utils/adt
- include
- catalog
- utils
- test/regress
- expected
- sql
- tools/pgindent
11 files changed
+1456
-78
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
| 105 | + | |
| 106 | + | |
105 | 107 |
| |
106 | 108 |
| |
107 | 109 |
| |
108 | 110 |
| |
109 | 111 |
| |
110 | 112 |
| |
111 | 113 |
| |
| 114 | + | |
| 115 | + | |
112 | 116 |
| |
113 | 117 |
| |
114 | 118 |
| |
|
Lines changed: 18 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
480 | 480 |
| |
481 | 481 |
| |
482 | 482 |
| |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
483 | 499 |
| |
484 | 500 |
| |
485 | 501 |
| |
| |||
498 | 514 |
| |
499 | 515 |
| |
500 | 516 |
| |
501 |
| - | |
| 517 | + | |
| 518 | + | |
502 | 519 |
| |
503 | 520 |
| |
504 | 521 |
| |
|
0 commit comments
Comments
(0)