Suggestion: pg_dump self-cleanup if out-of-disk

From: David Johnston <polobo(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Suggestion: pg_dump self-cleanup if out-of-disk
Date: 2013-11-18 07:12:48
Message-ID: 1384758768167-5778842.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luca Ferrari 2013-11-18 07:36:29 Re: PGSQL: listing db/role and user/role relationships
Previous Message David Johnston 2013-11-18 06:48:20 Primary Key Index Bloat?