pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julian Scarfe <julian@avbrief.com>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Indexes with LIKE
Date: Sat, 13 Jul 2002 19:18:18 +0100
Message-ID: <016101c22a99$a9951d80$0500a8c0@Wilbur> (raw)
References: <20020713082522.U19431-100000@megazone23.bigpanda.com>

From: "Stephan Szabo" <sszabo@megazone23.bigpanda.com>

> You need to have made the database in C locale in order to get index scans
> from LIKE.  I think that's mentioned in the Localization section of the
> admin guide, but I could be remembering that wrong.

Thanks very much Stephan.  Indeed it's in Admin Guide 5.1.2. I was using
en_GB, not C.

There is of course no excuse for failing to read every bit of smallprint in
the admin guide before installation :-) but for those lazy unfortunates like
me that don't think to look there to find out what's wrong when indexes
aren't used with LIKE, I've added a DocNote under Pattern Matching.

Julian Scarfe





view thread (4+ messages)  latest in thread

Message-ID: <016101c22a99$a9951d80$0500a8c0@Wilbur>
Permalink:  ../016101c22a99$a9951d80$0500a8c0@Wilbur/
Also on:    postgresql.org/message-id/016101c22a99$a9951d80$0500a8c0@Wilbur

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: julian@avbrief.com, sszabo@megazone23.bigpanda.com
  Subject: Re: Indexes with LIKE
  In-Reply-To: <016101c22a99$a9951d80$0500a8c0@Wilbur>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox