Re: use of / in ~ vs. ~*

From: Hannu Krosing <hannu(at)tm(dot)ee>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: use of / in ~ vs. ~*
Date: 2000-09-27 06:31:43
Message-ID: 39D1944F.777ED0AE@tm.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Hannu Krosing <hannu(at)tm(dot)ee> writes:
> > Can anyone explain why I must make / a character class
> > in case-insensitive query in order to match / ?
>
> What LOCALE are you using? There was a thread about strange ordering
> rules confusing the LIKE/regexp optimizer recently ...

I think I'm using the default locale (this is just straight install on
Linux from RPM-s)

Is there any way to find out the locale used from within the running
system ?

The most obvious way ( select locale(); ) does not work .

-----------
Hannu

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-09-27 06:41:18 Re: pgsql is 75 times faster with my new index scan
Previous Message Mikheev, Vadim 2000-09-27 05:34:46 RE: RE: [GENERAL] update inside transaction violates un ique constraint?