Re: date_trunc'd timestamp index possible?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: "D(dot) Duccini" <duccini(at)backpack(dot)com>, pgsql-sql(at)postgresql(dot)org, Pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: date_trunc'd timestamp index possible?
Date: 2004-10-01 18:44:37
Message-ID: 20041001184437.GA21599@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice pgsql-sql

On Fri, Oct 01, 2004 at 13:28:30 -0500,
Bruno Wolff III <bruno(at)wolff(dot)to> 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-10-01 18:47:46 Handling of mutable functions in subqueries?
Previous Message Tom Lane 2004-10-01 18:33:47 Re: Vacuum writes on empty system

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2004-10-01 18:49:34 Re: [SQL] date_trunc'd timestamp index possible?
Previous Message D. Duccini 2004-10-01 18:28:47 Re: date_trunc'd timestamp index possible?

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2004-10-01 18:49:34 Re: [SQL] date_trunc'd timestamp index possible?
Previous Message D. Duccini 2004-10-01 18:28:47 Re: date_trunc'd timestamp index possible?