Thomas Munro <thomas.mu...@enterprisedb.com> writes: > On Tue, Nov 6, 2018 at 6:23 AM Tom Lane <t...@sss.pgh.pa.us> wrote: >> What I suggest is that we *not* try to make this a completely transparent >> substitute. Instead, make the functions exported by src/port/ be >> "pg_pread" and "pg_pwrite", ...
> OK. But since we're using this from both fd.c and xlog.c, I put that > into src/include/port.h. LGTM. I didn't bother to run an actual test cycle, since it's not materially different from the previous version as far as portability is concerned. regards, tom lane