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

Re: Natural sort order

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Klingler <richard(at)klingler(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Natural sort order
Date: 2012-02-29 16:08:46
Message-ID: 1604.1330531726@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-sql
Richard Klingler <richard(at)klingler(dot)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

In response to

Responses

pgsql-sql by date

Next:From: Richard KlinglerDate: 2012-02-29 16:14:21
Subject: Re: Natural sort order
Previous:From: Marcin KrawczykDate: 2012-02-29 10:04:03
Subject: Re: custom_variable_classes in 9.1

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