Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE

From: Shane <shane-pgsql(at)cm(dot)nu>
To: juleni(at)livetrade(dot)cz
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE
Date: 2005-11-10 22:44:28
Message-ID: 20051110224428.GA20308@cm.nu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Nov 10, 2005 at 06:01:22PM +0100, juleni(at)livetrade(dot)cz wrote:
> Thanks for answer, I will use TIMESTAMP WITH TIMEZONE.

The only thing I would add is you don't seem to be able to
index a part of the timestamp with time zone value. As an
example, I had a table with around 10m rows where I wanted
to query by date. In order to add an index liki
date_part(mytimestamp), you need to use timestamp without
time zone.

S

--
http://www.cm.nu/~shane/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uwe C. Schroeder 2005-11-10 23:34:34 Re: Where
Previous Message Devrim GUNDUZ 2005-11-10 22:43:46 Re: [ANNOUNCE] PostgreSQL 8.1.0 RPMs are available for