Re: LOCALTIMESTAMP has wrong time zone

From: "Jonathan Brinkman" <JB(at)BlackSkyTech(dot)com>
To: "'Kevin Grittner'" <Kevin(dot)Grittner(at)wicourts(dot)gov>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: LOCALTIMESTAMP has wrong time zone
Date: 2011-02-24 22:38:55
Message-ID: 000a01cbd473$9f317fe0$dd947fa0$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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(dot)Grittner(at)wicourts(dot)gov]
Sent: Thursday, February 24, 2011 5:06 PM
To: JB(at)BlackSkyTech(dot)com; pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] LOCALTIMESTAMP has wrong time zone

"Jonathan Brinkman" <JB(at)BlackSkyTech(dot)com> wrote:

> My default timestamps in my database all are +5 hours in the future

Can you copy paste actual statements and results?

-Kevin

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jonathan Brinkman 2011-02-24 22:43:38 Re: LOCALTIMESTAMP has wrong time zone
Previous Message Tom Lane 2011-02-24 22:35:18 Re: LOCALTIMESTAMP has wrong time zone