From: Artur Rataj <arataj@iitis.gliwice.pl>
To: pgsql-sql@postgresql.org
Subject: `~' operator and indices
Date: Wed, 20 Dec 2000 19:38:30 +0100 (MET)
Message-ID: <Pine.GSO.4.05.10012201911250.2752-100000@atos> (raw)
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
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-sql@postgresql.org
Cc: arataj@iitis.gliwice.pl
Subject: Re: `~' operator and indices
In-Reply-To: <Pine.GSO.4.05.10012201911250.2752-100000@atos>
References: <Pine.GSO.4.05.10012201911250.2752-100000@atos>
* 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