Received: from atos.iitis.gliwice.pl ([212.106.181.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eBKIca604198 for ; Wed, 20 Dec 2000 13:38:42 -0500 (EST) (envelope-from arataj@iitis.gliwice.pl) Received: from localhost (arataj@localhost) by atos.iitis.gliwice.pl (8.11.1/8.11.1) with ESMTP id eBKIcUI02760 for ; Wed, 20 Dec 2000 19:38:30 +0100 (MET) Date: Wed, 20 Dec 2000 19:38:30 +0100 (MET) From: Artur Rataj X-Sender: arataj@atos To: pgsql-sql@postgresql.org Subject: `~' operator and indices Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200012/236 X-Sequence-Number: 573 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