Re: pg_rewind WAL segments deletion pitfall

From: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
To: Alexander Kukushkin <cyberdemn(at)gmail(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, michael(at)paquier(dot)xyz, pgsql-hackers(at)postgresql(dot)org, bungina(at)gmail(dot)com, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pg_rewind WAL segments deletion pitfall
Date: 2023-11-02 03:24:50
Message-ID: 293cf2c14c149cb333dd30ae39e08e4e@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On 2023-10-31 00:26, Alexander Kukushkin wrote:
> Hi,
>
> On Wed, 18 Oct 2023 at 08:50, torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
> wrote:
>
>> I have very minor questions on the regression tests mainly regarding
>> the
>> consistency with other tests for pg_rewind:
>
> Please find attached a new version of the patch. It addresses all your
> comments.

Thanks for updating the patch!

> +extern void preserve_file(char *filepath);

Is this necessary?
This function was defined in older version patch, but no longer seems to
exist.

+# We use "perl -e 'exit(1)'" as a alternative to "false", because the
last one
'a' should be 'an'?

--
Regards,

--
Atsushi Torikoshi
NTT DATA Group Corporation

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-11-02 09:44:15 Re: BUG #18178: New Restriction on "ON SELECT" rules on tables
Previous Message Hayato Kuroda (Fujitsu) 2023-11-02 03:17:03 RE: Logical replication is missing block of rows when sending initial sync?

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2023-11-02 03:25:53 Re: A recent message added to pg_upgade
Previous Message Noah Misch 2023-11-02 03:09:15 Re: race condition in pg_class