Question about 'copy' and datetime

Поиск
Список
Период
Сортировка
От Carolyn Lu Wong
Тема Question about 'copy' and datetime
Дата
Msg-id 3A6BB23E.46FBE132@greatpacific.com.au
обсуждение исходный текст
Ответы Re: Question about 'copy' and datetime
Список pgsql-sql
I'm using V6.5.

I find that when I try to restore a backup database (done by pg_dump),
the datetime value seem inconsistent. I've checked the dumped file,
the data seems alright. However, the imported date is +16hr of the
date in the data file.

The system uses EST. The data dumped also has EST postfix. Is this a
bug or there are other options I need to set?

fyi, the command used in the backup script
pg_dump -c -u -f $BACKUP_FILE $DATABASE

and the command used in the restore script
psql -e -u -f $BACKUP_FILE  $DATABASE


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: abstract data types?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question about 'copy' and datetime