Re: [PATCH]make pg_rewind to not copy useless WAL files

From: chenhj <chjischj(at)163(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH]make pg_rewind to not copy useless WAL files
Date: 2017-09-25 15:26:58
Message-ID: 6a0c760d.a4b8.15eb9a6056d.Coremail.chjischj@163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2017-09-23 01:59:0, "Alexander Korotkov" <a(dot)korotkov(at)postgrespro(dot)ru> wrote:

On Fri, Sep 22, 2017 at 7:16 PM, chenhj <chjischj(at)163(dot)com> wrote:

This is the new pacth with TAP test and use Macro XLOGDIR.

Good. I took a quick look over the patch.
Why do you need master_query(), standby_query() and run_query() in RewindTest.pm?
You can do just $node_master->safe_psql() and $node_slave->safe_psql() instead.

Ooh, i did not notice that function.Thank you for your advice!

---
Regards,
Chen Huajun

Attachment Content-Type Size
pg_rewind_wal_copy_reduce_v3.patch application/octet-stream 9.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-09-25 16:06:19 Re: CREATE COLLATION does not sanitize ICU's BCP 47 language tags. Should it?
Previous Message Andrew Dunstan 2017-09-25 14:55:58 Re: [BUGS] BUG #14825: enum type: unsafe use?