Re: how can i mark date function like iscachable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: erobles <erobles(at)sensacd(dot)com(dot)mx>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how can i mark date function like iscachable
Date: 2009-08-03 20:35:53
Message-ID: 13164.1249331753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

erobles <erobles(at)sensacd(dot)com(dot)mx> writes:
>> i tried to create an functional index like this:
>> create index estdistfecha on estadist (date(fecha));

>> but only get the next message:
>> ERROR: DefineIndex: index function must be marked iscachable.

Egad, what are you running? That message hasn't been spelled that way
since PG 7.2. Get yourself onto a more modern PG release, before that
one eats your data.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kalsch 2009-08-03 20:46:01 Re: character 0xe29986 of encoding "UTF8" has no equivalent in "LATIN2"
Previous Message Reid Thompson 2009-08-03 20:35:28 iGen with PostgreSQL 8.4 on Sun Fire X4140