Search Postgresql Archives

Re: TIMESTAMP vs TIMESTAMP WITHOUT TIME ZONE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 10, 2005 at 06:01:22PM +0100, juleni@xxxxxxxxxxxx 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/

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux