From: Tom Lane <tgl@sss.pgh.pa.us>
To: wouter.boasson@rivm.nl
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8097: pg_dump incomplete data output
Date: Fri, 19 Apr 2013 16:42:23 -0400
Message-ID: <24445.1366404143@sss.pgh.pa.us> (raw)
In-Reply-To: <E1UT93w-0003tc-Lp@wrigleys.postgresql.org>
References: <E1UT93w-0003tc-Lp@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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
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: tgl@sss.pgh.pa.us, wouter.boasson@rivm.nl
Subject: Re: BUG #8097: pg_dump incomplete data output
In-Reply-To: <24445.1366404143@sss.pgh.pa.us>
References: <E1UT93w-0003tc-Lp@wrigleys.postgresql.org> <24445.1366404143@sss.pgh.pa.us>
* 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