X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5C113528F0 for ; Wed, 17 Aug 2005 00:02:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00632-04 for ; Wed, 17 Aug 2005 03:02:52 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 4B39952AC1 for ; Wed, 17 Aug 2005 00:02:49 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j7H32k5m010495; Tue, 16 Aug 2005 23:02:46 -0400 (EDT) To: Bruno Wolff III Cc: Chris Hoover , pgsql-admin@postgresql.org Subject: Re: Is there anyway to create a functional index using to_date? In-reply-to: <20050816210701.GB29260@wolff.to> References: <1d219a6f0508161324285f4ee6@mail.gmail.com> <20050816210701.GB29260@wolff.to> Comments: In-reply-to Bruno Wolff III message dated "Tue, 16 Aug 2005 16:07:01 -0500" Date: Tue, 16 Aug 2005 23:02:46 -0400 Message-ID: <10494.1124247766@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200508/208 X-Sequence-Number: 18527 Bruno Wolff III writes: > Chris Hoover 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