Обсуждение: pg_dump and timestamps

Поиск
Список
Период
Сортировка

pg_dump and timestamps

От
"Marc Zandvliet"
Дата:
Hello,

I'm in the middle of an upgrade process to a 7.1.3 server but I have slight
prob.

In my records there is a creation_date field (timestamp datatype with
current_timestamp as default).
When I dump the data from the old install (pg_dump -a) and import it into
the new install
all of the creation_dates are set to ... current_timestamp.

Is there an obvious/easy way to bring over the old timestamps?

thanks for any suggestions,

Marc