Re: Help: pg_restore failure

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Edison So <edison(dot)so2(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help: pg_restore failure
Date: 2011-04-15 22:58:40
Message-ID: 4DA8CDA0.8010407@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 04/15/2011 01:15 PM, Edison So wrote:
> I have a DELL server running Windows server 2003 and Postgres 8.1.
> I used pg_dump to back up a database test:
> pg_dump -v -h localhost -p 5432 -U postgres -F c -b -f
> "D:/db_dump/backup.bak" test
> The backup was showing the following error.
> .
> pg_dump: dumping contents of table history
> pg_dump: [custom archiver] WARNING: ftell mismatch with expected
> position -- ftell used
>
> pg_dump: dumping contents of table history_archive
>
> pg_dump: [custom archiver] WARNING: ftell mismatch with expected
> position -- ftell used
>
> pg_dump: dumping contents of table historymetadata
>
> pg_dump: [custom archiver] WARNING: ftell mismatch with expected
> position -- ftell used
> I was trying to do a Posgres 8.1.4 backup and restored it to Postgres
> 9.0 on a new Dell server running Windows server 2008.
> Any clue how to resolve it?

My guess related to this:
http://archives.postgresql.org/pgsql-general/2008-08/msg00373.php

Try using the Postgres 9.0 version of pg_dump to take the dump of the
8.1 server.

> Edison
>
> --
> Edison

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-04-15 23:36:29 Re: Can a nested function determine it is being called within a trigger?
Previous Message Basil Bourque 2011-04-15 22:29:28 Can a nested function determine it is being called within a trigger?