Re: pg_basebackup wish list - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_basebackup wish list
Date
Msg-id 3bce988c-6d1a-2752-1461-24afa6b12d3d@2ndquadrant.com
Whole thread Raw
In response to Re: pg_basebackup wish list  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: pg_basebackup wish list
List pgsql-hackers
On 7/12/16 9:55 PM, Masahiko Sawada wrote:
> And what I think is pg_baseback never remove the directory specified
> by -D option even if execution is failed. initdb command behaves so.
> I think it's helpful for backup operation.

This has been bothering me as well.

How about the attached patch as a start?

--
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: errno clobbering in reorderbuffer
Next
From: Peter Eisentraut
Date:
Subject: Re: drop src/backend/port/darwin/system.c ?