pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump and disk full
2+ messages / 2 participants
[nested] [flat]

* pg_dump and disk full
@ 2018-09-01 03:06  Ron <ronljohnsonjr@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Ron @ 2018-09-01 03:06 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org


Will the v9.6 pg_dump exit with a non-zero exit code if the dump volume runs 
out of space?

-- 
Angular momentum makes the world go 'round.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump and disk full
@ 2018-09-01 14:43  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Ron <ronljohnsonjr@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2018-09-01 14:43 UTC (permalink / raw)
  To: Ron <ronljohnsonjr@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org

Ron <ronljohnsonjr@gmail.com> writes:
> Will the v9.6 pg_dump exit with a non-zero exit code if the dump volume runs 
> out of space?

It'll report any error reported by fwrite/fputc/fclose.  But we didn't
add a forced fsync of the output file till later, so perhaps there are
some filesystems where you might not find out about trouble ...

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-09-01 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-09-01 03:06 pg_dump and disk full Ron <ronljohnsonjr@gmail.com>
2018-09-01 14:43 ` 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