pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andy.gumbrecht@orprovision.com
To: pgsql-bugs@postgresql.org
Subject: BUG #6726: pg_dump - ftell mismatch  when using -Fc and split
Date: Wed, 11 Jul 2012 12:54:22 +0000
Message-ID: <E1SowQw-0003mq-SL@wrigleys.postgresql.org> (raw)

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:        

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.




Message-ID: <E1SowQw-0003mq-SL@wrigleys.postgresql.org>
Permalink:  ../E1SowQw-0003mq-SL@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1SowQw-0003mq-SL@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andy.gumbrecht@orprovision.com
  Subject: Re: BUG #6726: pg_dump - ftell mismatch  when using -Fc and split
  In-Reply-To: <E1SowQw-0003mq-SL@wrigleys.postgresql.org>
  References: <E1SowQw-0003mq-SL@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox