Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-docs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group