pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Further cleanup of ts_headline code. 5+ messages / 1 participants [nested] [flat]
* pgsql: Further cleanup of ts_headline code. @ 2020-04-09 19:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-04-09 19:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 is strictly within another one. That's unlikely given the preceding splitting into MaxWords fragments, but I don't think it's impossible. Discussion: https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2e0e409e3cbab4f4ac01a6f70931817cfd2bdcb1 Modified Files -------------- src/backend/tsearch/wparser_def.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Further cleanup of ts_headline code. @ 2020-04-09 19:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-04-09 19:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 is strictly within another one. That's unlikely given the preceding splitting into MaxWords fragments, but I don't think it's impossible. Discussion: https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d9a3fe4c56fe5ae2cfa9db88a208443f391eae89 Modified Files -------------- src/backend/tsearch/wparser_def.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Further cleanup of ts_headline code. @ 2020-04-09 19:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-04-09 19:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 is strictly within another one. That's unlikely given the preceding splitting into MaxWords fragments, but I don't think it's impossible. Discussion: https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9be664d715ebcb7265c6f3e2bdba89de2b45d66c Modified Files -------------- src/backend/tsearch/wparser_def.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Further cleanup of ts_headline code. @ 2020-04-09 19:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-04-09 19:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 is strictly within another one. That's unlikely given the preceding splitting into MaxWords fragments, but I don't think it's impossible. Discussion: https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/07453e9e332d262d9791e6819fadf74d5a2e8193 Modified Files -------------- src/backend/tsearch/wparser_def.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Further cleanup of ts_headline code. @ 2020-04-09 19:39 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2020-04-09 19:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 is strictly within another one. That's unlikely given the preceding splitting into MaxWords fragments, but I don't think it's impossible. Discussion: https://postgr.es/m/16345-2e0cf5cddbdcd3b4@postgresql.org Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c2599b93df0a94cd7d7b042c1bdd2eb6447ead92 Modified Files -------------- src/backend/tsearch/wparser_def.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-04-09 19:39 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-04-09 19:39 pgsql: Further cleanup of ts_headline code. Tom Lane <tgl@sss.pgh.pa.us> 2020-04-09 19:39 pgsql: Further cleanup of ts_headline code. Tom Lane <tgl@sss.pgh.pa.us> 2020-04-09 19:39 pgsql: Further cleanup of ts_headline code. Tom Lane <tgl@sss.pgh.pa.us> 2020-04-09 19:39 pgsql: Further cleanup of ts_headline code. Tom Lane <tgl@sss.pgh.pa.us> 2020-04-09 19:39 pgsql: Further cleanup of ts_headline code. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox