Data-only pg_rewind, take 2

From: Chris Travers <chris(dot)travers(at)adjust(dot)com>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Data-only pg_rewind, take 2
Date: 2019-03-17 13:00:57
Message-ID: CAN-RpxCT4uH4nfrx4k3h+5TAJHGUDL0hqhaTAXSzmzVtLGfp8w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi;

Attached is my second attempt at the pg_rewind change which allows one to
include only a minimal set. To my understanding, all past feedback has
been addressed.

The current patch does not change default behavior at present. It does add
a --data-only flag which allows pg_rewind to only rewind minimal files to
work. I believe this would generally be a good practice though maybe there
is some disagreement on that.

I have not run pg_indent because of the large number of other changes but
if that is desired at some point I can do that.

I also added test cases and some docs. I don't know if the docs are
sufficient. Feedback is appreciated. This is of course submitted for v13.

--
Best Regards,
Chris Travers
Head of Database

Tel: +49 162 9037 210 | Skype: einhverfr | www.adjust.com
Saarbrücker Straße 37a, 10405 Berlin

Attachment Content-Type Size
rewind_data_only_mode.patch application/octet-stream 15.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2019-03-17 13:18:21 Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Previous Message Sergei Kornilov 2019-03-17 12:53:42 Re: using index or check in ALTER TABLE SET NOT NULL