pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedBUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present
2+ messages / 2 participants
[nested] [flat]
* BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present
@ 2023-06-15 16:40 PG Bug reporting form <noreply@postgresql.org>
0 siblings, 1 reply; 2+ messages in thread
From: PG Bug reporting form @ 2023-06-15 16:40 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org; +Cc: vicreal@yandex.ru
The following bug has been logged on the website:
Bug reference: 17979
Logged by: Artem
Email address: vicreal@yandex.ru
PostgreSQL version: 14.4
Operating system: Windows 10
Description:
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
Must be:
one.two
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present
@ 2023-06-15 20:20 Tom Lane <tgl@sss.pgh.pa.us>
parent: PG Bug reporting form <noreply@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2023-06-15 20:20 UTC (permalink / raw)
To: vicreal@yandex.ru; +Cc: pgsql-bugs@lists.postgresql.org
PG Bug reporting form <noreply@postgresql.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2023-06-15 20:20 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 16:40 BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present PG Bug reporting form <noreply@postgresql.org>
2023-06-15 20:20 ` 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