pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira de Oliveira <euler@timbira.com>
To: pratikchirania <pratik.chirania@hp.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Timezone issues with Postrres
Date: Fri, 16 Sep 2011 12:01:12 -0300
Message-ID: <4E7364B8.5070608@timbira.com> (raw)
In-Reply-To: <1316149023380-4809498.post@n5.nabble.com>
References: <1316149023380-4809498.post@n5.nabble.com>

On 16-09-2011 01:57, pratikchirania wrote:
> Time is being interpreted incorrectly when I set time zone to UTC -6
> (Central America).
> Time shown when I query "SELECT NOW()" is 1 hour ahead of system time.
> PS: Central america does not have daylight saving. That might not be the
> issue.
>
It is not a bug. Was is the exact postgresql version? How old is your 
installation? It seems your PostgreSQL or OS tzdata is not up to date. If 
'pg_config --prefix' command has '--with-system-tzdata' update your 
installation to the latest minor version (for example, 8.4 -> 8.4.8) else 
update your OS tzdata and restart the PostgreSQL.


-- 
    Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
    PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento



view thread (12+ messages)  latest in thread

Message-ID: <4E7364B8.5070608@timbira.com>
Permalink:  ../4E7364B8.5070608@timbira.com/
Also on:    postgresql.org/message-id/4E7364B8.5070608@timbira.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: euler@timbira.com, pratik.chirania@hp.com
  Subject: Re: Timezone issues with Postrres
  In-Reply-To: <4E7364B8.5070608@timbira.com>
  References: <1316149023380-4809498.post@n5.nabble.com> <4E7364B8.5070608@timbira.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