| From: | Shaoqi Bai <sbai(at)pivotal(dot)io> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Fwd: Add tablespace tap test to pg_rewind |
| Date: | 2019-03-21 15:41:01 |
| Message-ID: | CAGRcZQXJo-=Cq4C_21sPcV=_3DD1OVSMQU4CDj8sbKqCFPtTDA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Mar 12, 2019 at 10:27 AM Michael Paquier <michael(at)paquier(dot)xyz>
wrote:
> It could be an idea to split the patch in two pieces:
> - One patch which refactors the code for the new option in
> PostgresNode.pm
> - Second patch for the new test with integration in RewindTest.pm.
> This should touch different parts of the code, so combining both would
> be fine as well for me :)
> --
> Michael
>
Have updated the patch doing as you suggested
On Wed, Mar 20, 2019 at 7:45 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> I would have avoided
> extra routines in the patch, like what you have done with
> create_standby_tbl_mapping(), but instead do something like
> init_from_backup() which is able to take extra parameters in a way
> similar to has_streaming and has_restoring. However, the trick with
> tablespace mapping is that the caller of backup() should be able to
> pass down multiple tablespace mapping references to make that a
> maximum portable.
> --
> Michael
Also updated the patch to achieve your suggestion.
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Refactors-the-code-for-the-new-option-in-PostgresNod.patch | application/octet-stream | 2.6 KB |
| 0002-Add-new-test-with-integration-in-RewindTest.pm.patch | application/octet-stream | 3.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2019-03-21 16:04:34 | Re: BUG #15572: Misleading message reported by "Drop function operation" on DB with functions having same name |
| Previous Message | David Rowley | 2019-03-21 15:05:30 | Re: [HACKERS] PATCH: multivariate histograms and MCV lists |