Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> What version of PostgreSQL are you running?
And on what platform? Did you compile with MULTIBYTE enabled?
Also, is there an index on the name column? If so, does either
query use the index (use EXPLAIN to find out)? Does setting
enable_indexscan to OFF change the results?
regards, tom lane