Обсуждение: BUG #18772: Segfaul i Greek stemming

Поиск
Список
Период
Сортировка

BUG #18772: Segfaul i Greek stemming

От
PG Bug reporting form
Дата:
The following bug has been logged on the website:

Bug reference:      18772
Logged by:          Markus
Email address:      doppelbauer@gmx.net
PostgreSQL version: 13.18
Operating system:   CentOS
Description:

SELECT TO_TSVECTOR('greek','Κάι, δαίνετε!  Είμαι σε φύγητη, έλεγε και θα
καφήσω!  Ω, φάι! Καίχομνια, φύγνια!  Παιδιά, φάχα, φάχα.  Γεια.  Γεια.');

-> segfaults in dict_snowball.so


Re: BUG #18772: Segfaul i Greek stemming

От
Tom Lane
Дата:
PG Bug reporting form <noreply@postgresql.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