postgres full text search modifies ts_query
If you don't want the polish library you can use the simple dictionary which will keep the y also:

karoly&gt; select to_tsquery('simple', $$'fabry':*A$$);
+--------------+
| to_tsquery   |
|--------------|
| 'fabry':*A   |
+--------------+