type in basebackup_incremental.c ?

Started by Daniel Westermann (DWE)almost 2 years ago5 messages
#1Daniel Westermann (DWE)
daniel.westermann@dbi-services.com

Hi,

/*
* we expect the find the last lines of the manifest, including the checksum,
* in the last MIN_CHUNK bytes of the manifest. We trigger an incremental
* parse step if we are about to overflow MAX_CHUNK bytes.
*/

Shouldn't this be:
/*
* we expect to find the last lines of the manifest,...
*/

Regards
Daniel

#2Daniel Gustafsson
daniel@yesql.se
In reply to: Daniel Westermann (DWE) (#1)
Re: type in basebackup_incremental.c ?

On 11 Apr 2024, at 11:49, Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> wrote:

Hi,

/*
* we expect the find the last lines of the manifest, including the checksum,
* in the last MIN_CHUNK bytes of the manifest. We trigger an incremental
* parse step if we are about to overflow MAX_CHUNK bytes.
*/

Shouldn't this be:
/*
* we expect to find the last lines of the manifest,...
*/

That sounds about right, and since it's a full sentence it should also start
with a capital 'W': "We expect to find the..".

--
Daniel Gustafsson

#3Daniel Westermann (DWE)
daniel.westermann@dbi-services.com
In reply to: Daniel Gustafsson (#2)
Re: type in basebackup_incremental.c ?

Sent: Thursday, April 11, 2024 12:15
To: Daniel Westermann (DWE) <daniel.westermann@dbi-services.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: type in basebackup_incremental.c ?

On 11 Apr 2024, at 11:49, Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> wrote:

Hi,

/*
* we expect the find the last lines of the manifest, including the checksum,
* in the last MIN_CHUNK bytes of the manifest. We trigger an incremental
* parse step if we are about to overflow MAX_CHUNK bytes.
*/

Shouldn't this be:
/*
* we expect to find the last lines of the manifest,...
*/

That sounds about right, and since it's a full sentence it should also start
with a capital 'W': "We expect to find the..".

... and a bit further down:

* We don't really need this information, because we use WAL summaries to
* figure what's changed.

Should probably be: ...because we use WAL summaries to figure out ...

Regards
Daniel

#4Andrew Dunstan
andrew@dunslane.net
In reply to: Daniel Gustafsson (#2)
Re: type in basebackup_incremental.c ?

On 2024-04-11 Th 06:15, Daniel Gustafsson wrote:

On 11 Apr 2024, at 11:49, Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> wrote:

Hi,

/*
* we expect the find the last lines of the manifest, including the checksum,
* in the last MIN_CHUNK bytes of the manifest. We trigger an incremental
* parse step if we are about to overflow MAX_CHUNK bytes.
*/

Shouldn't this be:
/*
* we expect to find the last lines of the manifest,...
*/

That sounds about right, and since it's a full sentence it should also start
with a capital 'W': "We expect to find the..".

Thanks, I will include that in the cleanups I'm intending to push today.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

#5Daniel Gustafsson
daniel@yesql.se
In reply to: Andrew Dunstan (#4)
Re: type in basebackup_incremental.c ?

On 11 Apr 2024, at 13:16, Andrew Dunstan <andrew@dunslane.net> wrote:

Thanks, I will include that in the cleanups I'm intending to push today.

+1, thanks!

--
Daniel Gustafsson