Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Here is a narrowed down example.
In what locale/encoding? Can we see the pg_stats row for person_idx_3?
> PostgreSQL is version 8.1.9.
So it hasn't got the LIKE estimation fixes I put in two months ago ...
regards, tom lane