inserting a timestamp show wrong timezone

Поиск
Список
Период
Сортировка
От Pam Wampler
Тема inserting a timestamp show wrong timezone
Дата
Msg-id 2E4528861499D41199D200A0C9B15BC0012F4698@taylorwhite.com
обсуждение исходный текст
Ответы Re: inserting a timestamp show wrong timezone  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-novice по дате отправления:

Предыдущее
От: Pam Wampler
Дата:
Сообщение: Gettting Error When Loading Timestamp Field
Следующее
От: Francisco Reyes
Дата:
Сообщение: Re: Query between databases?