pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: minaev.mike@gmail.com
Subject: BUG #15921: invalid regular expression while parsing hunspell affix
Date: Mon, 22 Jul 2019 11:12:09 +0000
Message-ID: <15921-50e34d80e23b4e71@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15921
Logged by:          Mike Minaev
Email address:      minaev.mike@gmail.com
PostgreSQL version: 10.5
Operating system:   Ubuntu 18.04
Description:        

We are using this dictionary
https://github.com/postgrespro/hunspell_dicts/tree/master/hunspell_ru_ru_aot
for fts. But sometimes my request fails with error 
 ERROR:  invalid regular expression: operation cancelled
CONTEXT:  line 48 of configuration file
"/usr/share/postgresql/10/tsearch_data/ru_ru_aot.affix": "PFX 9 0 без ^[и]
        "

I log such requests in my application, but i can't reproduce this problem on
my localhost. Seems problem appears while dictionary read from disk. What i
can to do to fix this problem?



Message-ID: <15921-50e34d80e23b4e71@postgresql.org>
Permalink:  ../15921-50e34d80e23b4e71@postgresql.org/
Also on:    postgresql.org/message-id/15921-50e34d80e23b4e71@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, minaev.mike@gmail.com
  Subject: Re: BUG #15921: invalid regular expression while parsing hunspell affix
  In-Reply-To: <15921-50e34d80e23b4e71@postgresql.org>
  References: <15921-50e34d80e23b4e71@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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