Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Dimitrios Apostolou <jimis@gmx.net>, Nathan Bossart <nathandbossart@gmail.com>,
Thomas Munro <thomas.munro@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-13T03:39:31Z
Lists: 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.