Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9011C63FD2E for ; Wed, 17 Mar 2010 01:48:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26194-09 for ; Wed, 17 Mar 2010 04:47:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id E10DA63EBC9 for ; Wed, 17 Mar 2010 01:47:53 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o2H4lpT2020307; Wed, 17 Mar 2010 00:47:51 -0400 (EDT) To: David Fetter cc: PostgreSQL Docs Subject: Re: Missing information on Expressional Indexes In-reply-to: <20100317001401.GJ21279@fetter.org> References: <20100317001401.GJ21279@fetter.org> Comments: In-reply-to David Fetter message dated "Tue, 16 Mar 2010 17:14:01 -0700" Date: Wed, 17 Mar 2010 00:47:51 -0400 Message-ID: <20306.1268801271@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/9 X-Sequence-Number: 5374 David Fetter writes: > I think this page should mention that the expressions used in an > expressional index need to be equivalent to an IMMUTABLE function, and > the docs don't say so. Sure they do, see CREATE INDEX: All functions and operators used in an index definition must be "immutable" ... regards, tom lane