Hi,
Jochem van Dieten wrote:
> CoL wrote:
>
>> Steve: of course you can make functional indices:
>>
>> So why this not workin???? (not workin for me 2 too, pg 7.1.3)
>> "CREATE INDEX eventdateindex ON event (date_trunc('day', eventstamp));"
>>
>
> Wouldn't your problem be that 'day' is a constant?
> Jochem
sure it is, but date_trunc takes this, so what is the way to create a date_trunc part or any
date function index on a timestamp?
Or it's not possible?
CoL