Zoltan Boszormenyi <zb(at)cybertec(dot)at> writes:
>> That looks suspiciously locale-ish; what locale are you running PG in?
> hu_HU.UTF-8
Ah, and I'll bet zs sorts after zy in hu_HU.
The query is already doing an ORDER BY, so it's not at fault. I think
the only thing we could do about this is add a variant expected file
with the hu_HU sort ordering. I'd be happy to do that if it were
affecting the main regression tests, but not sure it's worth it for
contrib/tsearch2 ... thoughts?
regards, tom lane