RESTORING A DATABASE WITH DIFFERENT TIMEZONES

Поиск
Список
Период
Сортировка
От Rodrigo Sakai
Тема RESTORING A DATABASE WITH DIFFERENT TIMEZONES
Дата
Msg-id 000901c72526$02c1d1b0$4700a8c0@SOFTWARE
обсуждение исходный текст
Ответы Re: RESTORING A DATABASE WITH DIFFERENT TIMEZONES  ("Brandon Aiken" <BAiken@winemantech.com>)
Re: RESTORING A DATABASE WITH DIFFERENT TIMEZONES  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-general

Hi all,

 

I’m having some troubles with time zones! I have a database dump file that have the date fields stored as ‘2006-12-20 00:00:00-02’!

And I have to restore it in a database that has the time zone configured as ‘BRST’ (-3 from GMT). So, when it is restored the value becomes ‘2006-12-19 23:00:00-03’. Ok this is logic because the difference of time zones.

 

But I have to restore it and maintain the same value of datetime! How can I do it?????

 

Thanks in advance!

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

Предыдущее
От: James Robinson
Дата:
Сообщение: Re: 8.2.0 psql \df+ output mangled a bit relative to 8.1.4 ...
Следующее
От: "Brandon Aiken"
Дата:
Сообщение: Re: RESTORING A DATABASE WITH DIFFERENT TIMEZONES