forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9be664d
committed
Further cleanup of ts_headline code.
Suppress a probably-meaningless uninitialized-variable warning(induced by my previous patch, I'm sorry to say).Improve mark_hl_fragments()'s test for overlapping cover strings:it failed to consider the possibility that the current string isstrictly within another one. That's unlikely given the precedingsplitting into MaxWords fragments, but I don't think it's impossible.Discussion:https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org1 parent2971180 commit9be664d
1 file changed
+10
-7
lines changedLines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2434 | 2434 |
| |
2435 | 2435 |
| |
2436 | 2436 |
| |
2437 |
| - | |
| 2437 | + | |
2438 | 2438 |
| |
2439 | 2439 |
| |
2440 | 2440 |
| |
2441 |
| - | |
2442 |
| - | |
2443 |
| - | |
2444 |
| - | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
2445 | 2447 |
| |
2446 | 2448 |
| |
2447 | 2449 |
| |
2448 | 2450 |
| |
2449 |
| - | |
| 2451 | + | |
2450 | 2452 |
| |
2451 | 2453 |
| |
2452 |
| - | |
| 2454 | + | |
2453 | 2455 |
| |
2454 | 2456 |
| |
2455 | 2457 |
| |
| |||
2607 | 2609 |
| |
2608 | 2610 |
| |
2609 | 2611 |
| |
| 2612 | + | |
2610 | 2613 |
| |
2611 | 2614 |
| |
2612 | 2615 |
| |
|
0 commit comments
Comments
(0)