Re: DB Import Error... - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: DB Import Error...
Date
Msg-id 4D95A686020000250003C123@gw.wicourts.gov
Whole thread Raw
In response to DB Import Error...  ("Senthil Kumar G" <senthil@zoniac.com>)
Responses Re: DB Import Error...  ("Senthil Kumar G" <senthil@zoniac.com>)
List pgsql-admin
"Senthil Kumar G" <senthil@zoniac.com> wrote:

> I am upgrading my staging environment from postgresql 8.2.3 to
> 9.0.3.
>
> I was able to do successfully.

> [errors while applying dump to new database]

> What could be the reason? What should i do to resolve this?

The recommended upgrade technique is to us pg_dump (or pg_dumpall)
from the newer version (9.0.3 in this case) to access the old
database (running the 8.2.3 server in this case).  If you followed
some other procedure, like using the 8.2.3 software to dump the
database, you should try the recommended approach instead.

I generally dump in plain text format (the default) and pipe it to
psql.

-Kevin

pgsql-admin by date:

Previous
From: "Senthil Kumar G"
Date:
Subject: DB Import Error...
Next
From: raghu ram
Date:
Subject: Re: DB Import Error...