git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7627f64) | patch
Further cleanup of ts_headline code.
Thu, 9 Apr 2020 19:38:43 +0000 (15:38 -0400)
Thu, 9 Apr 2020 19:38:57 +0000 (15:38 -0400)
commit d9a3fe4c56fe5ae2cfa9db88a208443f391eae89
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
src/backend/tsearch/wparser_def.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /