BUG #6726: pg_dump - ftell mismatch when using -Fc and split - Mailing list pgsql-bugs

From andy.gumbrecht@orprovision.com
Subject BUG #6726: pg_dump - ftell mismatch when using -Fc and split
Date
Msg-id E1SowQw-0003mq-SL@wrigleys.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      6726
Logged by:          Andy Gumbrecht
Email address:      andy.gumbrecht@orprovision.com
PostgreSQL version: 9.1.4
Operating system:   Windows 7 32 or 64 bit
Description:=20=20=20=20=20=20=20=20

Using:

"D:\pg\bin\pg_dump.exe" -F c -E utf8 -U postgres -w unit_Production |
"D:\pg\bin\split.exe" -b 256m - "D:\BAK\Production\production-"

The following error is produced:

pg_dump: [custom archiver] WARNING: ftell mismatch with expected position --
ftell used

I guess that the -F c option requires a physical file and attempts to seek,
which fails.

If this is the case then using pg_dump -F c should fail noisily when the -f
option is not present.

pgsql-bugs by date:

Previous
From: Christian Ullrich
Date:
Subject: pg_basebackup de.po: Wrong translation
Next
From: tuckerpmt@gmail.com
Date:
Subject: BUG #6727: Column does not exist exception has no error code