Em sex., 11 de set. de 2020 às 17:44, Tom Lane <t...@sss.pgh.pa.us> escreveu:
> Ranier Vilela <ranier...@gmail.com> writes: > > New version, with support to read Virtual File (pipe, FIFO and socket). > > With assert, in case, erroneous, of trying to read a pipe, with offset. > > I do agree that it might be worth skipping the fseeko call in the > probably-common case where seek_offset is zero. Otherwise I don't > see much reason to change what's there. > Tom, if you think it's worth it, I agree with only avoiding syscal fseeko. regards, Ranier Vilela
v1-0001-avoid_syscall_fseeko_read_binary_file.patch
Description: Binary data