Received: from lv-fw ([159.148.47.176]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f94F7Nn08875 for ; Thu, 4 Oct 2001 11:07:23 -0400 (EDT) (envelope-from mark@vestnesis.lv) Received: (from mail@localhost) by lv-fw (8.11.1/8.11.1) id f94GBLu25454 for pgsql-admin@postgresql.org; Thu, 4 Oct 2001 18:11:21 +0200 (EET) (envelope-from mark@vestnesis.lv) X-Authentication-Warning: lv-fw: mail set sender to mark@vestnesis.lv using -f Received: from 10.11.12.10 by 216.126.85.28 id ExoA9sD0 ; 4 Oct 2001 18:11:19 EET Received: from varde (varde [10.11.12.30]) by vestnesis.lv (8.11.2/x.y.z/Who Cares x.y.z-a.b) with ESMTP id f94F7Qu12194 for ; Thu, 4 Oct 2001 18:07:26 +0300 From: "Martins Zarins" To: pgsql-admin@postgresql.org Date: Thu, 4 Oct 2001 18:04:31 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: indexes on text columns Reply-to: mark@vestnesis.lv Message-ID: <3BBCA4AF.11553.14D65F@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) X-Archive-Number: 200110/38 X-Sequence-Number: 2284 Hi , all! I'm using 7.1.3 with --enable-locale my locale is lv_LV.ISO8859-13 And sort works prety fine. I have a table with text column and index in it. When I make some EXPLAIN select id from text_table where text_column = 'some_text' it reports that sequential scan will be used BUT When I recompile postgres WITHOUT --enable-locale, index scan ir working fine, but sort don't. Is this a bug or I missed some configuration about locale and indeces? Mark