pg_dump and disk full

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

pg_dump and disk full

От:
Ron <ronljohnsonjr@gmail.com>
Дата:

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 <tgl@sss.pgh.pa.us>
Дата:
Ron  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

FAQ