X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4635DD1B44E for ; Wed, 31 Dec 2003 11:04:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 68915-02 for ; Wed, 31 Dec 2003 07:03:18 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 74AEED1B4D6 for ; Wed, 31 Dec 2003 07:03:15 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hBVB3EU6094747 for ; Wed, 31 Dec 2003 11:03:14 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hBVAtcO6087621 for pgsql-sql@postgresql.org; Wed, 31 Dec 2003 10:55:38 GMT From: "Hijax" X-Newsgroups: comp.databases.postgresql.sql Subject: functional index Date: Wed, 31 Dec 2003 11:55:38 +0100 Organization: ATMAN Lines: 17 Message-ID: X-Complaints-To: usenet@atman.pl X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.4 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME X-Spam-Level: X-Archive-Number: 200401/23 X-Sequence-Number: 16416 HAPPY NEW YEAR EVERYONE !!!!! Hi all.. Is there any method of creating functinal index using date() function? I can't create such an index because of uncacheable function... I have to select gathered data from specific day of year... So I should create an index for better performance. How can I achive that? Regards, Arek P.S. I am using PostgreSQL 7.4.0