On Sunday 09 December 2007 11:54, Andrew Chernow wrote:
> Okay, thanks.  So using WITHOUT TIME ZONE basically means, store the
> provided value as UTC.  Meaning, 8AM EST NOW() is stored/treated as 8AM
> UTC.
>

Not quite. Using WITHOUT TIME ZONE means to not store any time zone 
information. It appears as UTC only because you selected it out as UTC. 

pagila=# select now(), now() at time zone 'PST' , now()::timestamp at time 
zone 'PST';
-[ RECORD 1 ]---------------------------
now      | 2007-12-09 12:25:19.240661-05
timezone | 2007-12-09 09:25:19.240661
timezone | 2007-12-09 15:25:19.240661-05

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to