X-Original-To: pgsql-novice-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8AD6E32A215 for ; Fri, 1 Oct 2004 19:34:41 +0100 (BST) 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 30583-07 for ; Fri, 1 Oct 2004 18:34:39 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 1F66232A213 for ; Fri, 1 Oct 2004 19:34:37 +0100 (BST) Received: (qmail 21641 invoked by uid 500); 1 Oct 2004 18:44:37 -0000 Date: Fri, 1 Oct 2004 13:44:37 -0500 From: Bruno Wolff III To: "D. Duccini" , pgsql-sql@postgresql.org, Pgsql-novice Subject: Re: date_trunc'd timestamp index possible? Message-ID: <20041001184437.GA21599@wolff.to> Mail-Followup-To: "D. Duccini" , pgsql-sql@postgresql.org, Pgsql-novice References: <20041001182830.GA20624@wolff.to> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041001182830.GA20624@wolff.to> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/9 X-Sequence-Number: 11094 On Fri, Oct 01, 2004 at 13:28:30 -0500, Bruno Wolff III wrote: > > I am not sure how to check if the supplied function for converting > a timestamp with time zone to a timestamp without timezone using a > specified time zone is immutable. I think this function should be > immutable, but that it probably isn't. I found that most of the various timezone functions are marked as stable instead of immutable. I think at least a couple of these should be marked as immutable and I will try reporting this as a bug.