pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anibal David Acosta <aa@devshock.com>
To: pgsql-admin@postgresql.org
Subject: timezone, how postgres deal with it?
Date: Thu, 22 Nov 2012 12:36:42 -0300
Message-ID: <004701cdc8c7$3a5cf4b0$af16de10$@devshock.com> (raw)

This query returns false

 

select ('2012-11-20 17:00:00-02:00'::timestamp with time zone) =
('2012-11-20 18:00:00-03:00'::timestamp with time zone)

 

But are exactly same time

 

Why?

 

timestamp with timezone just show/hide time zone?

 

thanks

 

 

view thread (3+ messages)  latest in thread

Message-ID: <004701cdc8c7$3a5cf4b0$af16de10$@devshock.com>
Permalink:  ../004701cdc8c7$3a5cf4b0$af16de10$@devshock.com/
Also on:    postgresql.org/message-id/004701cdc8c7$3a5cf4b0$af16de10$@devshock.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: aa@devshock.com
  Subject: Re: timezone, how postgres deal with it?
  In-Reply-To: <004701cdc8c7$3a5cf4b0$af16de10$@devshock.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox