Re: BUG #18772: Segfaul i Greek stemming

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: doppelbauer(at)gmx(dot)net
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18772: Segfaul i Greek stemming
Date: 2025-01-15 00:33:44
Message-ID: 1147393.1736901224@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:
> SELECT TO_TSVECTOR('greek','Κάι, δαίνετε! Είμαι σε φύγητη, έλεγε και θα
> καφήσω! Ω, φάι! Καίχομνια, φύγνια! Παιδιά, φάχα, φάχα. Γεια. Γεια.');
> -> segfaults in dict_snowball.so

Hmm ... I see that in PG v13, but not in v14 and up. The fix likely
came from snowball tag v2.0.0 or v2.1.0, which we incorporated during
the v14 cycle. We certainly wouldn't back-patch those whole commits,
and it's hard to get excited about seeing whether it's possible to
tease out a change that would avoid this crash while not changing the
stemmer's semantics. Especially so when v13 is less than a year from
EOL. I'd recommend updating to v14 or later if you need that stemmer.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message lxiaogang5 2025-01-15 02:03:28 Re: There is a defect in the ReplicationSlotCreate() function whereit iterates throughReplicationSlotCtl->replication_slots[max_replication_slots] to find a slotbut does not break out of the loop when a slot is found.
Previous Message PG Bug reporting form 2025-01-14 21:41:37 BUG #18772: Segfaul i Greek stemming