David Fetter <david@fetter.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