Thread

  1. Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward

    David G. Johnston <david.g.johnston@gmail.com> — 2025-10-13T03:39:31Z

    On Sunday, October 12, 2025, Chao Li <li.evan.chao@gmail.com> wrote:
    
    > 2 - 0003
    > ```
    >  /*
    >   * LZ4 equivalent to feof() or gzeof().  Return true iff there is no
    > - * decompressed output in the overflow buffer and the end of the backing
    > file
    > ```
    >
    > This doesn’t belong to the current patch. But “iff” seems a typo of “if”.
    > You may fix it as you are touching this piece of code.
    >
    
    “iif” is shorthand for “if and only if”.  So it isn’t likely to be a typo;
    it only needs to be changed if it is wrong.  I haven’t looked to see.
    
    David J.