Re: Strage behavior

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fernando Schapachnik <fschapachnik(at)vianetworks(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strage behavior
Date: 2001-02-05 05:08:40
Message-ID: 8253.981349720@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Fernando Schapachnik <fpscha(at)ns1(dot)via-net-works(dot)net(dot)ar> writes:
> select * from aliases where alias~'^claudia.gonzalez$' \g
> alias|receptores
> -----+----------
> (0 rows)

> select * from aliases where alias~'claudia.gonzalez$' \g
> alias |receptores
> ----------------+----------
> claudia.gonzalez|claudia
> (1 row)

> Seems like there is some kind of unvisible char at the front.

I think you are getting bitten by the LIKE-index-optimization problem.
Are you running in a non-ASCII locale?

There's a good deal of traffic concerning this issue in the archives,
so I won't repeat it ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Raphael 2001-02-05 05:10:06 Re: can't run on TCP/IP ports
Previous Message Tom Lane 2001-02-05 04:06:33 Re: Aggregates and joined tables...