pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ivan Voras <ivoras@fer.hr>
To: PFC <lists@boutiquenumerique.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: String matching
Date: Mon, 14 Feb 2005 21:31:46 +0100
Message-ID: <42110AB2.1010903@fer.hr> (raw)
In-Reply-To: <opsl7d8pkvth1vuj@musicbox>
References: <421102A7.4090006@fer.hr>
	<opsl7d8pkvth1vuj@musicbox>

PFC wrote:
> 
>     normally you shouldn't have to do anything, it should just work :
> 
>> select field from table where field like 'abc%'

>     If it does not use the index, I saw on the mailing list that the 
> locale  could be an issue.

Oh yes, I forgot about that :( I do have LC_COLLATE (on latin2)...

It's a shame PostgreSQL doesn't allow collation rules on specific fields 
- this field I'm using here will always be 7bit ASCII :(




view thread (8+ messages)  latest in thread

Message-ID: <42110AB2.1010903@fer.hr>
Permalink:  ../42110AB2.1010903@fer.hr/
Also on:    postgresql.org/message-id/42110AB2.1010903@fer.hr

 · 

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-performance@postgresql.org
  Cc: ivoras@fer.hr, lists@boutiquenumerique.com
  Subject: Re: String matching
  In-Reply-To: <42110AB2.1010903@fer.hr>

* 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