pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: SZUCS Gábor <surrano@mailbox.hu>
To: pgsql-performance@postgresql.org
Subject: Re: Optimizer differences between 7.2 and 7.3
Date: Mon, 21 Jul 2003 10:25:51 +0200
Message-ID: <012201c34f61$b20993e0$0403a8c0@fejleszt4> (raw)
References: <1057587455.6466.26.camel@takin.private.nexcerpt.com>
	<200307071540.30041.dev@archonet.com>

A bit OT:

do regex ops (~, ~*) use index scan in non-"C" locales? Is it worth to
convert LIKE to regex?

G.
------------------------------- cut here -------------------------------
----- Original Message ----- 
From: "Richard Huxton" <dev@archonet.com>
Sent: Monday, July 07, 2003 4:40 PM


Check the locale the database was initdb'd to. You'll probably find 7.2.4 is
in the "C" locale whereas 7.3.3 isn't. The "like" comparison can only use
indexes in the "C" locale. I believe you might need to initdb again to fix
this.

-- 
  Richard Huxton

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html




view thread (4+ messages)  latest in thread

Message-ID: <012201c34f61$b20993e0$0403a8c0@fejleszt4>
Permalink:  ../012201c34f61$b20993e0$0403a8c0@fejleszt4/
Also on:    postgresql.org/message-id/012201c34f61$b20993e0$0403a8c0@fejleszt4

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: surrano@mailbox.hu
  Subject: Re: Optimizer differences between 7.2 and 7.3
  In-Reply-To: <012201c34f61$b20993e0$0403a8c0@fejleszt4>
  References: <1057587455.6466.26.camel@takin.private.nexcerpt.com> <200307071540.30041.dev@archonet.com> <012201c34f61$b20993e0$0403a8c0@fejleszt4>

* 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