Re: Is there anyway to create a functional index using to_date?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: Chris Hoover <revoohc(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Is there anyway to create a functional index using to_date?
Date: 2005-08-17 03:02:46
Message-ID: 10494.1124247766@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Bruno Wolff III <bruno(at)wolff(dot)to> writes:
> Chris Hoover <revoohc(at)gmail(dot)com> wrote:
>> I can get it to create on if I create a special function that just
>> takes the field to be converted and returns the converted date.

> That is what you have to do in older versions of postgres. You don't have
> to do that in 8.0 (I am not sure about 7.4).

7.4 does it too. 7.3 is ... um ... old.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bruno Wolff III 2005-08-17 04:40:06 Re: SQL Help - Obtaining ID of record INSERTED
Previous Message Oliver Elphick 2005-08-17 00:00:33 Re: GRANT ALL PRIVILEGES ON DATABASE