Обсуждение: pg_dump and disk full

Поиск
Список
Период
Сортировка

pg_dump and disk full

От
Ron
Дата:
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

От
Tom Lane
Дата:
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