`~' operator and indices - Mailing list pgsql-sql

From Artur Rataj
Subject `~' operator and indices
Date
Msg-id Pine.GSO.4.05.10012201911250.2752-100000@atos
Whole thread Raw
Responses Re: `~' operator and indices
List pgsql-sql
Hello,

I would like to ask you why do `~' gives the following results,
if there is an index on `string':

select string from indextbk_fti_fkey where string ~ '^IE';string 
--------
(0 rows)

select string from indextbk_fti_fkey where string ~ '^IECIA';string 
--------IECIA
(1 row)

`E' here is a polish letter. I have set locale to `pl_PL' before
starting postgres.

Best regards

Artur Rataj




pgsql-sql by date:

Previous
From: "guard"
Date:
Subject: plpgsql ?
Next
From: Stephan Szabo
Date:
Subject: Re: how to alter/drop check contraint?