I keep getting the following error when
trying to restore a database on Postgres 9.2.4.
I used pg_dump –Fc with no owner from one
server (8.4.2). It’s working fine for other similar
databases.
Hi there,
Did you do the pg_dump using 9.2 binaries or the 8.4
binaries? It's recommended that you always use the newer
binaries for dumping. Also, have tried to do a pg_upgrade
instead of the dump/restore?
No I was using
8.4 binaries…Thanks, I will try that now. we will be
upgrading the 8.4 server after converting the service into
another operating System .
Sorry I am not
knowledgeable about this , I copied the binary file onto the
server where postgres 8.4 is running, untarred it (file is
postgresql-9.2.4.tar.gz). But I can’t find the pg_dump
script path. It looks like I have to configure it and do the
gmake n gmake install. But how do I do that without
affecting the current running postgres version 8.4.