- Notifications
You must be signed in to change notification settings - Fork5
Commit19d2901
committed
Fix nested NOT operation cleanup in tsquery.
During normalization of tsquery tree it tries to simplify nested NOToperations but there it's obvioulsy missed that subsequent node could bea leaf node (value node)Bug #14245: Segfault on weird to_tsqueryReported by David Kellum.1 parentce150e7 commit19d2901
File tree
3 files changed
+22
-1
lines changed- src
- backend/utils/adt
- test/regress
- expected
- sql
3 files changed
+22
-1
lines changedLines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
406 | 406 |
| |
407 | 407 |
| |
408 | 408 |
| |
| 409 | + | |
| 410 | + | |
409 | 411 |
| |
410 | 412 |
| |
411 | 413 |
| |
412 | 414 |
| |
413 | 415 |
| |
414 | 416 |
| |
415 | 417 |
| |
416 |
| - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
417 | 423 |
| |
418 | 424 |
| |
419 | 425 |
| |
|
Lines changed: 12 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
555 | 555 |
| |
556 | 556 |
| |
557 | 557 |
| |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
558 | 570 |
| |
559 | 571 |
| |
560 | 572 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
| 133 | + | |
| 134 | + | |
| 135 | + | |
133 | 136 |
| |
134 | 137 |
| |
135 | 138 |
| |
|
0 commit comments
Comments
(0)