Re: BUG #17288: PSQL bug with COPY command (Windows)
Dmitry Koval <d.koval@postgrespro.ru>
From: Dmitry Koval <d.koval@postgrespro.ru>
To: Michael Paquier <michael@paquier.xyz>, Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-11-20T11:51:21Z
Lists: pgsql-bugs
Attachments
- v5_0001-Fixed-Windows-stat-emulation-working-with-streams.patch (text/plain) patch v5-0001
>... We should really >add a comment explaining why this is handled this way though for the >case of streams, why the case of the redirection matters, and why we >count on a failure of GetFinalPathNameByHandleA(). Added a comment for v4 (as draft). But I don't know English well enough and probably comment should be corrected. With best regards, Dmitry.
Commits
-
Fix compatibility thinko for fstat() on standard streams in win32stat.c
- 5550a9c38519 14.2 landed
- 58651d8dd6a5 15.0 landed
-
Fix fstat() emulation on Windows with standard streams
- d2198b4593cc 14.2 landed
- 10260c794b21 15.0 landed