Re: pg_restore fails with a custom backup file - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: pg_restore fails with a custom backup file
Date
Msg-id 20070219085347.GB1153@svr2.hagander.net
Whole thread Raw
In response to Re: pg_restore fails with a custom backup file  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Sat, Feb 17, 2007 at 08:40:54PM +0100, Magnus Hagander wrote:
> 
> IIRC, there was a warning from pg_dump. I don't recall exactly what, and
> don't have the space to re-run the test on my laptop here, but I think
> it was from:
> write_msg(modulename, "WARNING: ftell mismatch with expected position --
> ftell used\n");

Ok, I've confirmed that the output is this:
D:\prog\pgsql\inst\bin>pg_dump -Fc -Z0 test > out
pg_dump: [custom archiver] WARNING: ftell mismatch with expected position -- ftell used
pg_dump: [custom archiver] WARNING: ftell mismatch with expected position -- ftell used
pg_dump: [custom archiver] WARNING: ftell mismatch with expected position -- ftell used


Three warnings for that one dump - my guess would be one for each table
past the 2gb limit.

//Magnus


pgsql-hackers by date:

Previous
From: Jakub Ouhrabka
Date:
Subject: Howto change db cluster locale on-the-fly
Next
From: Magnus Hagander
Date:
Subject: pg_proc without oid?