forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1aed4c4
committed
Add comments and a missing CHECK_FOR_INTERRUPTS in ts_headline.
I just spent an annoying amount of time reverse-engineering the100%-undocumented API between ts_headline and the text searchparser's prsheadline function. Add some commentary about thatwhile it's fresh in mind. Also remove some unused macros inwparser_def.c.While at it, I noticed that when commit78e73e8 added aCHECK_FOR_INTERRUPTS call in TS_execute_recurse, it misseddoing so in the parallel function TS_phrase_execute, whichsurely needs one just as much.Back-patch because of the missing CHECK_FOR_INTERRUPTS.Might as well back-patch the rest of this too.1 parent4cbcb7e commit1aed4c4
File tree
4 files changed
+60
-21
lines changed- src
- backend
- tsearch
- utils/adt
- include/tsearch
4 files changed
+60
-21
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
437 | 437 |
| |
438 | 438 |
| |
439 | 439 |
| |
| 440 | + | |
| 441 | + | |
440 | 442 |
| |
441 | 443 |
| |
442 | 444 |
| |
| |||
453 | 455 |
| |
454 | 456 |
| |
455 | 457 |
| |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
456 | 466 |
| |
457 | 467 |
| |
458 | 468 |
| |
| |||
594 | 604 |
| |
595 | 605 |
| |
596 | 606 |
| |
| 607 | + | |
| 608 | + | |
| 609 | + | |
597 | 610 |
| |
598 | 611 |
| |
599 | 612 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1921 | 1921 |
| |
1922 | 1922 |
| |
1923 | 1923 |
| |
1924 |
| - | |
1925 |
| - | |
1926 |
| - | |
1927 |
| - | |
1928 | 1924 |
| |
1929 | 1925 |
| |
1930 | 1926 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1607 | 1607 |
| |
1608 | 1608 |
| |
1609 | 1609 |
| |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
1610 | 1613 |
| |
1611 | 1614 |
| |
1612 | 1615 |
| |
|
Lines changed: 44 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
34 | 57 |
| |
35 | 58 |
| |
36 | 59 |
| |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
48 | 71 |
| |
49 | 72 |
| |
50 | 73 |
| |
51 | 74 |
| |
| 75 | + | |
52 | 76 |
| |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
57 | 84 |
| |
58 | 85 |
| |
59 |
| - | |
| 86 | + | |
60 | 87 |
| |
61 | 88 |
| |
62 | 89 |
| |
|
0 commit comments
Comments
(0)