Re: [PATCH] minor bugfix for pg_basebackup (9.6 ~ )

From: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Sergei Kornilov <sk(at)zsrv(dot)org>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] minor bugfix for pg_basebackup (9.6 ~ )
Date: 2019-08-01 02:37:21
Message-ID: 7e92c294-f8fd-bd83-447d-8839c96fb9ea@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 7/27/19 6:52 AM, Alvaro Herrera wrote:
> On 2019-Jul-25, Michael Paquier wrote:
>
>> On Wed, Jul 24, 2019 at 11:23:30AM -0400, Alvaro Herrera wrote:
>>> Heh, yesterday I revised the original patch as attached and was about to
>>> push when the bell rang. I like this one because it keeps the comment
>>> to one line and it mentions the function name in charge of the
>>> validation (useful for grepping later on). It's a bit laconic because
>>> of the long function name and the desire to keep it to one line, but it
>>> seems sufficient to me.
>>
>> Looks fine to me. A nit: addition of braces for the if block. Even
>> if that a one-liner, there is a comment so I think that this makes the
>> code more readable.
>
> Yeah, I had removed those on purpose, but that was probably inconsistent
> with my own reviews of others' patches. I pushed it with them.

Thanks

Regards

Ian Barwick

--
Ian Barwick https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2019-08-01 02:45:50 Re: concerns around pg_lsn
Previous Message Amit Langote 2019-08-01 01:32:44 Re: partition routing layering in nodeModifyTable.c