pg.ddx.io pgsql-bugs@postgresql.org mailing list archivehelp / color / mirror / Atom feed
BUG #8097: pg_dump incomplete data output 2+ messages / 2 participants [nested] [flat]
* BUG #8097: pg_dump incomplete data output @ 2013-04-19 11:01 wouter.boasson@rivm.nl 0 siblings, 1 reply; 2+ messages in thread From: wouter.boasson@rivm.nl @ 2013-04-19 11:01 UTC (permalink / raw) To: pgsql-bugs The following bug has been logged on the website: Bug reference: 8097 Logged by: Wouter Boasson Email address: wouter.boasson@rivm.nl PostgreSQL version: 9.1.9 Operating system: Scientific Linux 6.1 32bit Description: 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). 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). -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: BUG #8097: pg_dump incomplete data output @ 2013-04-19 20:42 Tom Lane <tgl@sss.pgh.pa.us> parent: wouter.boasson@rivm.nl 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2013-04-19 20:42 UTC (permalink / raw) To: wouter.boasson@rivm.nl; +Cc: pgsql-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 ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2013-04-19 20:42 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2013-04-19 11:01 BUG #8097: pg_dump incomplete data output wouter.boasson@rivm.nl 2013-04-19 20:42 ` Tom Lane <tgl@sss.pgh.pa.us>
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