pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julian Scarfe <julian.scarfe@ntlworld.com>
To: Jodi Kanter <jkanter@virginia.edu>
Cc: Postgres SQL List <pgsql-sql@postgresql.org>
Subject: Re: order by
Date: Thu, 27 Mar 2003 15:06:01 +0000
Message-ID: <BAA8C3D9.25F98%julian.scarfe@ntlworld.com> (raw)
In-Reply-To: <007001c2f470$f4a936c0$de138f80@virginia.edu>

On 27/3/03 14:55, "Jodi Kanter" <jkanter@virginia.edu> wrote:

> Other than the sort ordering are there any other problems with NOT having
> the environment set to "C?"

Pattern matching e.g. "where foo ~~ 'bar%'" doesn't use an index on foo
unless the locale is C.  This can cause a significant performance hit.  For
examples as above you can workaround by defining a substring function for a
functional index, but it's a bit clumsy.

Must get round to doing a fresh initdb one of these days... ;-)

Julian Scarfe




view thread (18+ messages)

Message-ID: <BAA8C3D9.25F98%julian.scarfe@ntlworld.com>
Permalink:  ../BAA8C3D9.25F98%25julian.scarfe@ntlworld.com/
Also on:    postgresql.org/message-id/BAA8C3D9.25F98%julian.scarfe@ntlworld.com

 · 

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.scarfe@ntlworld.com, jkanter@virginia.edu
  Subject: Re: order by
  In-Reply-To: <BAA8C3D9.25F98%julian.scarfe@ntlworld.com>

* 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