Thread

  1. type in basebackup_incremental.c ?

    Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> — 2024-04-11T09:49:54Z

    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
    
  2. Re: type in basebackup_incremental.c ?

    Daniel Gustafsson <daniel@yesql.se> — 2024-04-11T10:15:26Z

    > 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
    
    
    
    
    
  3. Re: type in basebackup_incremental.c ?

    Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> — 2024-04-11T11:00:31Z

    >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
    
  4. Re: type in basebackup_incremental.c ?

    Andrew Dunstan <andrew@dunslane.net> — 2024-04-11T11:16:02Z

    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
    
    
    
    
    
  5. Re: type in basebackup_incremental.c ?

    Daniel Gustafsson <daniel@yesql.se> — 2024-04-11T11:16:40Z

    > 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