pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: JB@BlackSkyTech.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: LOCALTIMESTAMP has wrong time zone
Date: Thu, 24 Feb 2011 17:35:18 -0500
Message-ID: <29565.1298586918@sss.pgh.pa.us> (raw)
In-Reply-To: <4D6681F1020000250003AFED@gw.wicourts.gov>
References: <000001cbd468$124cc720$36e65560$@com>
	<4D6681F1020000250003AFED@gw.wicourts.gov>

"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> "Jonathan Brinkman" <JB@BlackSkyTech.com> wrote:
>> My default timestamps in my database all are +5 hours in the future
 
> Can you copy paste actual statements and results?

In particular, let's see the result of these commands in psql:

	show timezone;
	select now();
	select localtimestamp;

What it sounds like to me is an incorrect default setting of "timezone"
but it's hard to be sure with no concrete data.

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <29565.1298586918@sss.pgh.pa.us>
Permalink:  ../29565.1298586918@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29565.1298586918@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov, JB@BlackSkyTech.com
  Subject: Re: LOCALTIMESTAMP has wrong time zone
  In-Reply-To: <29565.1298586918@sss.pgh.pa.us>
  References: <000001cbd468$124cc720$36e65560$@com> <4D6681F1020000250003AFED@gw.wicourts.gov> <29565.1298586918@sss.pgh.pa.us>

* 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