Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly
Date
Msg-id ZVKW0MVnO-E3_udU@momjian.us
Whole thread Raw
In response to Re: BUG #15172: Postgresql ts_headline with <-> operator does not highlight text properly  (Bruce Momjian <bruce@momjian.us>)
List pgsql-bugs
On Mon, Oct 30, 2023 at 12:00:38PM -0400, Bruce Momjian wrote:
> On Mon, Oct 30, 2023 at 11:32:26AM -0400, Tom Lane wrote:
> > Bruce Momjian <bruce@momjian.us> writes:
> > > How is this weasel-wording, attached.  :-)
> > 
> > Getting there.  What do you think of
> > 
> > +    Specifically, the function will use the query to select relevant
> > +    text fragments, and then highlight all words that appear in the query,
> > +    even if those word positions do not match the query's restrictions.
> 
> Sold!  :-)  Attached.

Patch applied back to PG 16.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



pgsql-bugs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: BUG #18194: Missing install instructions
Next
From: Laurenz Albe
Date:
Subject: Re: BUG #18179: Cluster History Error