Re: pg_dump and timestamp : problem with TimeZone

From: "Emmanuel Guyot" <emmguyot(at)wanadoo(dot)fr>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump and timestamp : problem with TimeZone
Date: 2001-10-27 11:08:42
Message-ID: 9re4lm$1vvd$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I hardly believe that noone knows about this problem.

Emmanuel Guyot

"Emmanuel Guyot" <emmguyot(at)wanadoo(dot)fr> a crit dans le message de news:
9r11np$mk9$1(at)news(dot)tht(dot)net(dot)(dot)(dot)
> I have some columns with timestamp data type wich includes the time zone.
> I access these columns using JDBC which handle the time zone automaticly.
> Writing and reading data work fine.
>
> Though when I dump the base and restore it, the date are 2 hours later. Is
> seems to me that the timezone is lost somewhere.
>
> Here are technical information :
> - I've launched my base (7.1.3 with cygwin) while TZ=GMT-2.
> - To dump I use : pg_dump.exe -c -F c -Z 9 myDB
> - To restore I use : zcat file.gz | pg_restore -v -c -F c -d myDB
>
> For both dump and restore TZ is GMT-2.
>
> Thanks for your hints...
>
> Emmanuel Guyot
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message steve boyle 2001-10-27 17:36:16 Code to automatically refresh sequences after loading data?
Previous Message Stuart Bishop 2001-10-27 02:35:06 Re: PG 7.1.3 & MacOS X (10.1)