pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pratikchirania <pratik.chirania@hp.com>
To: pgsql-bugs@postgresql.org
Subject: Re: Timezone issues with Postrres
Date: Wed, 21 Sep 2011 21:47:35 -0700 (PDT)
Message-ID: <1316666855451-4828973.post@n5.nabble.com> (raw)
In-Reply-To: <28648.1316637111@sss.pgh.pa.us>
References: <1316149023380-4809498.post@n5.nabble.com>
	<4E7364B8.5070608@timbira.com>
	<1316589418035-4825401.post@n5.nabble.com>
	<CA+TgmobN-OFXRXpGCTi=e-sk2Lm+97As9B+bchWewjjLcohvzw@mail.gmail.com>
	<4E7A4570.9040609@timbira.com>
	<28648.1316637111@sss.pgh.pa.us>

Hi, thanks for the responses. Here are updates from my end:

1. I am in Costa Rica, using Windows Server 2008 R2/Windows 2003 with
PostgreSQL 8.3/9.0

2. System Date/Time Settings shows "CST/Central America" with UTC-6 as extra
display

system timezone: (using command: systeminfo)
Time Zone:                 (UTC-06:00) Central America

3. other applications are showing the correct time (i.e., the System Time
setting IS correct as can be confirmed by a time checker such as
http://www.timeanddate.com/worldclock/)

4. There is NO DST for CST (Central America) a.k.a America/Costa_Rica to the
PostgreSQL database through the pg_timezone_names view

5. If the America/Costa_Rica entry is made in the posgresql.conf file
(timezone field), it works as expected and matches the System TimeZone/Date
and Time

Here are the results you had requested for:

show timezone
"CST6CDT"


select now() at time zone 'utc', now() at time zone 'utc -6', NOW();

"2011-09-22 02:50:49.746"; "2011-09-22 08:50:49.746"; "2011-09-21
21:50:49.746-05"

regards,
Pratik

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Timezone-issues-with-Postgres-tp4809498p4828973.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.



view thread (12+ messages)  latest in thread

Message-ID: <1316666855451-4828973.post@n5.nabble.com>
Permalink:  ../1316666855451-4828973.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1316666855451-4828973.post@n5.nabble.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: pratik.chirania@hp.com
  Subject: Re: Timezone issues with Postrres
  In-Reply-To: <1316666855451-4828973.post@n5.nabble.com>
  References: <1316149023380-4809498.post@n5.nabble.com> <4E7364B8.5070608@timbira.com> <1316589418035-4825401.post@n5.nabble.com> <CA+TgmobN-OFXRXpGCTi=e-sk2Lm+97As9B+bchWewjjLcohvzw@mail.gmail.com> <4E7A4570.9040609@timbira.com> <28648.1316637111@sss.pgh.pa.us> <1316666855451-4828973.post@n5.nabble.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