BUG #6726: pg_dump - ftell mismatch when using -Fc and split

From: andy(dot)gumbrecht(at)orprovision(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6726: pg_dump - ftell mismatch when using -Fc and split
Date: 2012-07-11 12:54:22
Message-ID: E1SowQw-0003mq-SL@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6726
Logged by: Andy Gumbrecht
Email address: andy(dot)gumbrecht(at)orprovision(dot)com
PostgreSQL version: 9.1.4
Operating system: Windows 7 32 or 64 bit
Description:

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.

Browse pgsql-bugs by date

  From Date Subject
Next Message tuckerpmt 2012-07-11 15:08:23 BUG #6727: Column does not exist exception has no error code
Previous Message Christian Ullrich 2012-07-11 09:32:55 pg_basebackup de.po: Wrong translation