Marcus Engene <meng...@engene.se> wrote:
 
> I have a table with a few million rows and this index:
> CREATE INDEX bond_item_common_x7 ON bond_item_common 
> ((lower(original_filename)));
 
> Dropping the wildcard for the like, both databases uses the index.
> 
> Is there a way to convince Postgres to try not to do full table
> scan as much?
 
That could be a difference is collations.  What do you get from the
query on this page for each database?:
 
http://wiki.postgresql.org/wiki/Server_Configuration
 
-Kevin

-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to