Re: pg_dump and disk full - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_dump and disk full
Date
Msg-id 30150.1535813035@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump and disk full  (Ron <ronljohnsonjr@gmail.com>)
List pgsql-admin
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


pgsql-admin by date:

Previous
From: Evan Bauer
Date:
Subject: Re: Archive to secondary Postgres instance
Next
From: Keith
Date:
Subject: Re: Can we exclude errors of some particular text in Postgres log file?