forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1b9c04b
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 parent47a22dc commit1b9c04b
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 | |
---|---|---|---|
| |||
433 | 433 |
| |
434 | 434 |
| |
435 | 435 |
| |
| 436 | + | |
| 437 | + | |
436 | 438 |
| |
437 | 439 |
| |
438 | 440 |
| |
| |||
449 | 451 |
| |
450 | 452 |
| |
451 | 453 |
| |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
452 | 462 |
| |
453 | 463 |
| |
454 | 464 |
| |
| |||
590 | 600 |
| |
591 | 601 |
| |
592 | 602 |
| |
| 603 | + | |
| 604 | + | |
| 605 | + | |
593 | 606 |
| |
594 | 607 |
| |
595 | 608 |
| |
|
Lines changed: 0 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1914 | 1914 |
| |
1915 | 1915 |
| |
1916 | 1916 |
| |
1917 |
| - | |
1918 |
| - | |
1919 |
| - | |
1920 |
| - | |
1921 | 1917 |
| |
1922 | 1918 |
| |
1923 | 1919 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1616 | 1616 |
| |
1617 | 1617 |
| |
1618 | 1618 |
| |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
1619 | 1622 |
| |
1620 | 1623 |
| |
1621 | 1624 |
| |
|
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)