Thread: BUG #8816: to_tsquery returns wrong results

BUG #8816: to_tsquery returns wrong results

From
thehappycoder@gmail.com
Date:
The following bug has been logged on the website:

Bug reference:      8816
Logged by:          Anton Kuzmin
Email address:      thehappycoder@gmail.com
PostgreSQL version: 9.2.6
Operating system:   Debian wheezy
Description:

to_tsquery('russian', 'Мария:*'::text) returns 'мар':* which is wrong. Мария
is a female's name.

I think the correct result should be 'мари':* because according to Russian
grammar this name can have the following forms: Мария, Марии, Марию, Марией