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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: vicreal(at)yandex(dot)ru
Subject: BUG #17979: (pg_tsparser + ts_headline) duplicate output if dot present
Date: 2023-06-15 16:40:03
Message-ID: 17979-ae3ed1932587b35c@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17979
Logged by: Artem
Email address: vicreal(at)yandex(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Cory Albrecht 2023-06-15 18:57:37 Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error
Previous Message Zu-Ming Jiang 2023-06-15 16:26:13 Server closed the connection unexpectedly