pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jonathan Brinkman <JB@BlackSkyTech.com>
To: 'Kevin Grittner' <Kevin.Grittner@wicourts.gov>
To: pgsql-bugs@postgresql.org
Subject: Re: LOCALTIMESTAMP has wrong time zone
Date: Thu, 24 Feb 2011 17:38:55 -0500
Message-ID: <000a01cbd473$9f317fe0$dd947fa0$@com> (raw)
In-Reply-To: <4D6681F1020000250003AFED@gw.wicourts.gov>
References: <000001cbd468$124cc720$36e65560$@com>
	<4D6681F1020000250003AFED@gw.wicourts.gov>

Well, here is the CREATE TABLE if that's what you mean:

CREATE TABLE "clientdata"."general_comments" (
  "commentid" INTEGER DEFAULT nextval('general_comments_seq'::regclass) NOT
NULL, 
  "commentvalue" VARCHAR(255) NOT NULL, 
  "personid" INTEGER, 
  "userid" INTEGER NOT NULL, 
  "commentdatetime" TIMESTAMP WITHOUT TIME ZONE DEFAULT
timezone('EST'::text, now()) NOT NULL, 
  "createddatetime" TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT now(), 
  "createddatetime2" TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT
'now'::text::timestamp without time zone, 
  CONSTRAINT "pk_general_comments_commentid" PRIMARY KEY("commentid"), 
) WITH OIDS;


-----Original Message-----
From: Kevin Grittner [mailto:Kevin.Grittner@wicourts.gov] 
Sent: Thursday, February 24, 2011 5:06 PM
To: JB@BlackSkyTech.com; pgsql-bugs@postgresql.org
Subject: Re: [BUGS] LOCALTIMESTAMP has wrong time zone

"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?
 
-Kevin




view thread (9+ messages)  latest in thread

Message-ID: <000a01cbd473$9f317fe0$dd947fa0$@com>
Permalink:  ../000a01cbd473$9f317fe0$dd947fa0$@com/
Also on:    postgresql.org/message-id/000a01cbd473$9f317fe0$dd947fa0$@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: JB@BlackSkyTech.com, Kevin.Grittner@wicourts.gov
  Subject: Re: LOCALTIMESTAMP has wrong time zone
  In-Reply-To: <000a01cbd473$9f317fe0$dd947fa0$@com>
  References: <000001cbd468$124cc720$36e65560$@com> <4D6681F1020000250003AFED@gw.wicourts.gov> <000a01cbd473$9f317fe0$dd947fa0$@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