Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward
Date
Msg-id CAKFQuwa6jgVj18bRGE3edy2Z=5=DAUGL8efxG2KdWJg12nF0kw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-hackers
On Sunday, October 12, 2025, David G. Johnston <david.g.johnston@gmail.com> wrote:
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.

Never mind…two f’s, not two i’s …

David J.

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward
Next
From: Chao Li
Date:
Subject: Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward