inserting a timestamp show wrong timezone

From: Pam Wampler <Pam_Wampler(at)taylorwhite(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: inserting a timestamp show wrong timezone
Date: 2002-02-20 14:25:24
Message-ID: 2E4528861499D41199D200A0C9B15BC0012F4698@taylorwhite.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

When I create a table & insert records, I am getting the wrong timezone info
(-04)
When I insert using now() -- the timezone is right (-05)
I am on EST. Please help --

example:

insert into foo values (3, '12-aug-2001:00:01:01');
insert into foo values (4,now());
showaltb=> select * from foo;
n | t
---+------------------------
3 | 2001-08-12 00:01:01-04
4 | 2002-02-20 08:59:56-05

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Francisco Reyes 2002-02-20 14:47:09 Re: Query between databases?
Previous Message Aarni Ruuhimäki / Megative Tmi / KYMI.com 2002-02-20 12:38:08 One big table or several smaller tables ?