From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Klingler <richard@klingler.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Natural sort order
Date: Wed, 29 Feb 2012 11:08:46 -0500
Message-ID: <1604.1330531726@sss.pgh.pa.us> (raw)
In-Reply-To: <20120228133835204823.bbf29d1f@klingler.net>
References: <20111217113306531983.1eb85a86@klingler.net>
<CAP_rwwkrnuANFjirZvkS=Ca2gejQvQa-xnM-vXsOFSQ1Jy92cQ@mail.gmail.com>
<20120228133835204823.bbf29d1f@klingler.net>
Richard Klingler <richard@klingler.net> writes:
> Took some time until I could try out this...
> But as soon I want to create the fcuntion based index it tells me:
> Error : ERROR: functions in index expression must be marked IMMUTABLE
FWIW, this example works fine for me. Maybe you have some weird
user-defined version of substr() or ~ that isn't immutable?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, richard@klingler.net
Subject: Re: Natural sort order
In-Reply-To: <1604.1330531726@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox