Hello all, As highlighted in [1] fseek() might fail to error even when accessing unseekable streams.
PFA a patch that checks the file type before the actual fseek(), so only supported calls are made. [1] https://www.postgresql.org/message-id/flat/b1448cd7-871e-20e3-8398-895e2d1d3...@gmail.com Regards, Juan José Santamaría Flecha
0001-fix-fseek-detection-of-unseekable-files-for-WIN32.patch
Description: Binary data