Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tn9i1-0000bs-OL for pgsql-docs@arkaria.postgresql.org; Mon, 24 Dec 2012 15:12:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tn9i0-0002gR-Lt for pgsql-docs@arkaria.postgresql.org; Mon, 24 Dec 2012 15:12:52 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tn9hz-0002gL-Rx for pgsql-docs@postgresql.org; Mon, 24 Dec 2012 15:12:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tn9hx-0003Bv-6a for pgsql-docs@postgresql.org; Mon, 24 Dec 2012 15:12:51 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qBOFCjFG004604; Mon, 24 Dec 2012 10:12:45 -0500 (EST) From: Tom Lane To: Peter Eisentraut cc: pgsql-docs@postgresql.org Subject: Re: pattern matching indexing In-reply-to: <1356360300.5854.2.camel@vanquo.pezone.net> References: <1356360300.5854.2.camel@vanquo.pezone.net> Comments: In-reply-to Peter Eisentraut message dated "Mon, 24 Dec 2012 09:45:00 -0500" Date: Mon, 24 Dec 2012 10:12:45 -0500 Message-ID: <4603.1356361965@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Peter Eisentraut writes: > To index pattern matching, you can use the _pattern_ops operator > classes, or you can set the column collation in the index to "C". The > latter option doesn't appear to be documented (unless you read very deep > between the lines). Is that intentional? It is stated at http://www.postgresql.org/docs/devel/static/indexes-opclass.html that you don't need the special pattern opclasses in C locale. Feel free to rephrase or document elsewhere if you find that too obscure. regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs