Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 2132417A3628 for ; Wed, 11 Jul 2012 09:54:40 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SowRA-0003oB-UV for pgsql-bugs@postgresql.org; Wed, 11 Jul 2012 12:54:39 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SowQx-00039P-GX for pgsql-bugs@postgresql.org; Wed, 11 Jul 2012 12:54:23 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SowQw-0003mq-SL for pgsql-bugs@postgresql.org; Wed, 11 Jul 2012 12:54:22 +0000 Date: Wed, 11 Jul 2012 12:54:22 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6726: pg_dump - ftell mismatch when using -Fc and split To: pgsql-bugs@postgresql.org From: andy.gumbrecht@orprovision.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/75 X-Sequence-Number: 33551 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.