Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UTI8c-0001wI-CZ for pgsql-bugs@arkaria.postgresql.org; Fri, 19 Apr 2013 20:42:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UTI8b-0003ab-Bw for pgsql-bugs@arkaria.postgresql.org; Fri, 19 Apr 2013 20:42:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UTI8Z-0003aT-IV for pgsql-bugs@postgresql.org; Fri, 19 Apr 2013 20:42:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UTI8W-0007AS-Fi for pgsql-bugs@postgresql.org; Fri, 19 Apr 2013 20:42:27 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r3JKgNtd024446; Fri, 19 Apr 2013 16:42:23 -0400 (EDT) From: Tom Lane To: wouter.boasson@rivm.nl cc: pgsql-bugs@postgresql.org Subject: Re: BUG #8097: pg_dump incomplete data output In-reply-to: References: Comments: In-reply-to wouter.boasson@rivm.nl message dated "Fri, 19 Apr 2013 11:01:04 -0000" Date: Fri, 19 Apr 2013 16:42:23 -0400 Message-ID: <24445.1366404143@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org wouter.boasson@rivm.nl writes: > pg_dump produces incomplete data dumps for large tables in directory mode > (-Fd). > The maximum output file size seems to be 2147483647 bytes (2GB), when > setting --compress=0 the output seems to be complete (uncompressed size 5GB > and 20GB). I can't replicate that. I surmise that you're running on a platform where largefile support isn't default (and configure failed to figure out how to turn it on). Or possibly you're looking at a configuration bug in zlib. I don't see anything in the pg_dump sources that would particularly constrain the size of an output file. > When making the dump, no error is displayed, which makes this a dangerous > bug in disaster recovery scenario's, only when restoring error's are > displayed (incomplete/no data). It does look like pg_dump might not notice errors reported while writing. But that might or might not have helped you here --- it's not clear exactly which component is failing. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs