Thread: pg_dump and disk full

pg_dump and disk full

From
Ron
Date:
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.


Re: pg_dump and disk full

From
Tom Lane
Date:
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