Re: [HACKERS] [patch] reorder tablespaces in basebackup tar streamfor backup_label - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] [patch] reorder tablespaces in basebackup tar streamfor backup_label
Date
Msg-id CAB7nPqTdbR7OKBBnWAZ6qB7821foc_X1_s8bV7BWrJ73OrAv-A@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] [patch] reorder tablespaces in basebackup tar streamfor backup_label  (Bernd Helmle <mailings@oopsware.de>)
Responses [HACKERS] Re: [patch] reorder tablespaces in basebackup tar stream forbackup_label  (David Steele <david@pgmasters.net>)
List pgsql-hackers
On Sat, Mar 4, 2017 at 1:13 AM, Bernd Helmle <mailings@oopsware.de> wrote:
> Ah right, i assumed there must be something, otherwise the comment
> won't be there ;)
>
> We could special case that part to distinguish fetch/stream mode, but i
> fear that leads to more confusion than it wants to fix. The other
> option of a separate tar file looks awkward from a usability point of
> view.

It is possible as well to group the WAL files in a different tarball
than the main directory and put that at the tail of the list for the
fetch mode, while the main directory gets at the head. That would
break things for existing users by the way, and just being able to
look at the LSN start location before receiving the tar bytes of the
backup does not seem enough to justify such a breakage.
-- 
Michael



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] UPDATE of partition key
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Disallowing multiple queries per PQexec()