"Evandro" <evandro@horizontenet.com.br> writes:
> This is the command for dump I´m using:
> pg_dump -Ft -b -o $DB | bzip2 > $ARQ
>
> This is the command for restore:
> pg_restore -h $SRV -vOd $DB -u $BUNZIPARQ
>
> This error occurs both in 7.12 and 7.13 I didn´t tested in 7.2
>
> I´m getting this error:
>
> Creating <Init> Max OID
> Archiver(db): Could not execute query. No result from backend.
I just ran into something like this. Make sure you create the
database you're going to restore into with template0 as the template,
eg:
$ createdb -T template0 $DB
$ pg_restore <...>
That fixed it for me.
-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863