Suggestion: pg_dump self-cleanup if out-of-disk - Mailing list pgsql-general

From David Johnston
Subject Suggestion: pg_dump self-cleanup if out-of-disk
Date
Msg-id 1384758768167-5778842.post@n5.nabble.com
Whole thread Raw
Responses Re: Suggestion: pg_dump self-cleanup if out-of-disk
List pgsql-general
Having recently had a pg_dump error out due to not having enough disk it
occurs to me that it would be nice for pg_dump to remove the partial dump
file it was creating (if possible/known) instead of having it sit around
taking up that last bit of available space and itself being unusable for
restore purposes anyway.  Given these tend to be large the benefit to
cleanup seems quite strong and fairly direct to accomplish since we just
created the file only a short while previous.  Call it a beginner or
part-time-dba usability feature.

David J.




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Suggestion-pg-dump-self-cleanup-if-out-of-disk-tp5778842.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Primary Key Index Bloat?
Next
From: Luca Ferrari
Date:
Subject: Re: PGSQL: listing db/role and user/role relationships