Re: Reason to not upgrade from 6.5 to 7.0 or above

Поиск
Список
Период
Сортировка
От Anuradha Ratnaweera
Тема Re: Reason to not upgrade from 6.5 to 7.0 or above
Дата
Msg-id Pine.LNX.4.21.0104281837410.233-100000@presario
обсуждение исходный текст
Ответ на Re: Reason to not upgrade from 6.5 to 7.0 or above  (Joel Burton <jburton@scw.org>)
Список pgsql-admin

On Wed, 25 Apr 2001, Joel Burton wrote:

> Is there anything that datetime did that timestamp doesn't?

datetime is provided to ensure compatibility with older releases, although
they are not guranteed to exist in future releases (chapter 3.4 users
guide)

> Could you
>
>    pg_dump | sed | psql
>
> to change the datetimes to timestamp?

No. pg_dump will read from the database while psql will modify it and
there can be conflicts. It is safe to

pg_dumpall -c | sed > tmpfile
psql -d template1 -f tmpfile

Anuradha


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

Предыдущее
От: "Christian Marschalek"
Дата:
Сообщение: RE: ODBC connection to PostgreSQL
Следующее
От: Anuradha Ratnaweera
Дата:
Сообщение: Re: Restoring a pg_dump fails with