how can i mark date function like iscachable

From: erobles <erobles(at)sensacd(dot)com(dot)mx>
To: pgsql-general(at)postgresql(dot)org
Subject: how can i mark date function like iscachable
Date: 2009-08-03 19:03:23
Message-ID: 4A77347B.4050304@sensacd.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

erobles wrote:
> Hello there!
>
> 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.
>
> So, How can i mark the date function iscachable ? :-)
>
> i hope your anwsers, anyway thanks to read this !
>
>
>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message erobles 2009-08-03 19:24:02 Re: how can i mark date function like iscachable
Previous Message Tom Lane 2009-08-03 18:58:40 Re: Privilege problems: access denied on select for owner?