Re: BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: vicreal(at)yandex(dot)ru
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present
Date: 2023-06-15 20:20:05
Message-ID: 2271903.1686860405@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> CREATE EXTENSION pg_tsparser;
> CREATE TEXT SEARCH CONFIGURATION public.vp_ts_config_test (PARSER =
> tsparser);
> SELECT ts_headline('vp_ts_config_test', 'one.two',
> websearch_to_tsquery('three'), 'HighlightAll=TRUE, StartSel="<mark>",
> StopSel="</mark>"');

> Result:
> one.twoone.two

I don't see any such misbehavior with the built-in parser,
so I think you need to report this to the author(s) of the
pg_tsparser extension. This list is just concerned with
bugs in the core Postgres distribution.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Will Mortensen 2023-06-15 20:35:17 Re: BUG #17973: Reinit of pgstats entry for dropped DB can break autovacuum daemon
Previous Message Cory Albrecht 2023-06-15 20:12:42 Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error