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 CAKFQuwZpXR4d7zN6n-S+GANbVw0mOJj1qRfDimR4FBf6e6yYDA@mail.gmail.com
Whole thread Raw
In response to Re: [PING] [PATCH v2] parallel pg_restore: avoid disk seeks when jumping short distance forward  (Chao Li <li.evan.chao@gmail.com>)
Responses Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward
Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward
List pgsql-hackers
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.

pgsql-hackers by date:

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