pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas Joseph Krogh <andreak@officenet.no>
Cc: pgsql-sql@postgresql.org
Subject: Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
Date: Thu, 28 Jun 2007 11:20:56 -0400
Message-ID: <5092.1183044056@sss.pgh.pa.us> (raw)
In-Reply-To: <200706281630.16455.andreak@officenet.no>
References: <200706281630.16455.andreak@officenet.no>

Andreas Joseph Krogh <andreak@officenet.no> writes:
> Anybody knows if the following query will use an index-scan in PG-8.3?
> SELECT name FROM person WHERE name LIKE 'and%';
> I know this works in "C"-locale, but I need it with UTF-8,

"C locale" and "UTF8" are entirely orthogonal things.

			regards, tom lane



view thread (7+ messages)  latest in thread

Message-ID: <5092.1183044056@sss.pgh.pa.us>
Permalink:  ../5092.1183044056@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5092.1183044056@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, andreak@officenet.no
  Subject: Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ?
  In-Reply-To: <5092.1183044056@sss.pgh.pa.us>

* 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