Re: Reason to not upgrade from 6.5 to 7.0 or above - Mailing list pgsql-admin

From Anuradha Ratnaweera
Subject Re: Reason to not upgrade from 6.5 to 7.0 or above
Date
Msg-id Pine.LNX.4.21.0104281837410.233-100000@presario
Whole thread Raw
In response to Re: Reason to not upgrade from 6.5 to 7.0 or above  (Joel Burton <jburton@scw.org>)
List 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 by date:

Previous
From: "Christian Marschalek"
Date:
Subject: RE: ODBC connection to PostgreSQL
Next
From: Anuradha Ratnaweera
Date:
Subject: Re: Restoring a pg_dump fails with