| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: pg_basebackup: Clean created directories on failure |
| Date: | 2016-09-12 19:26:25 |
| Message-ID: | E1bjWs5-0008S9-Jl@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
pg_basebackup: Clean created directories on failure
Like initdb, clean up created data and xlog directories, unless the new
-n/--noclean option is specified.
Tablespace directories are not cleaned up, but a message is written
about that.
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9083353b15c3cf8e7bbac104a81ad42281178cdf
Modified Files
--------------
doc/src/sgml/ref/pg_basebackup.sgml | 18 +++++
src/bin/pg_basebackup/pg_basebackup.c | 98 ++++++++++++++++++++++++++--
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 10 ++-
3 files changed, 119 insertions(+), 7 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2016-09-12 23:19:52 | pgsql: Docs: assorted minor cleanups. |
| Previous Message | Kevin Grittner | 2016-09-12 14:30:52 | pgsql: Fix recent commit for tab-completion of database template. |