From: | "Nick Fankhauser" <nickf(at)ontko(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <brent(at)rcfile(dot)org>, "PGSQL-SQL" <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: creating an index on a function |
Date: | 2002-02-15 16:27:57 |
Message-ID: | NEBBLAAHGLEEPCGOBHDGOELIEFAA.nickf@ontko.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Tom, Brent-
Thanks for the thoughtful responses. I now understand why it didn't work and
what I need to change about my approach.
> This raises a subtle point that you'd better think about before you go
> too far in this direction: truncating a timestamp to date is not a very
> well-defined operation, because it depends on the timezone setting.
That's a good point. Fortunately, in this specific application the events
are selected by location as a part of the same operation, so I *think* I'll
be OK- However, there are some other application functions I'm contemplating
for the future which would really get mangled if I lost my TZ information.
Regards,
-Nick
From | Date | Subject | |
---|---|---|---|
Next Message | Nick Fankhauser | 2002-02-15 16:33:41 | Re: create index on function - why? |
Previous Message | Wei Weng | 2002-02-15 16:25:40 | create index on function - why? |