Re: Optimizer differences between 7.2 and 7.3

From: SZUCS Gábor <surrano(at)mailbox(dot)hu>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Optimizer differences between 7.2 and 7.3
Date: 2003-07-21 08:25:51
Message-ID: 012201c34f61$b20993e0$0403a8c0@fejleszt4
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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(at)archonet(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alexander Priem 2003-07-21 08:31:19 Tuning PostgreSQL
Previous Message SZŰCS Gábor 2003-07-21 05:58:56 Re: ugly query slower in 7.3, even slower after vacuum full analyze