Re: Missing information on Expressional Indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PostgreSQL Docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Missing information on Expressional Indexes
Date: 2010-03-17 04:47:51
Message-ID: 20306.1268801271@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

David Fetter <david(at)fetter(dot)org> 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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Heikki Linnakangas 2010-03-17 10:35:37 Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL
Previous Message Fujii Masao 2010-03-17 02:28:58 The type of ssl_renegotiation_limit