Re: BUG #17288: PSQL bug with COPY command (Windows)
Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
From: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Dmitry Koval <d.koval@postgrespro.ru>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2021-11-26T12:37:49Z
Lists: pgsql-bugs
Attachments
- 0001-Test-for-Windows-stat-emulation-working-with-streams.patch (application/x-patch) patch 0001
On Thu, Nov 25, 2021 at 4:23 AM Michael Paquier <michael@paquier.xyz> wrote: > On Wed, Nov 24, 2021 at 10:44:09AM +0300, Dmitry Koval wrote: > > Unfortunately, you are. > > All my COPY-tests work well with files. > > I see a problem in the terminal only ... > > Anyway, I have run more tests, tweaked slightly the comment, and > applied it down to 14. Thanks to both of you! > > After some experimentation I have been able to test this type of error through a tap test using console input. Looking at the patch I'm not sure it is worth all the extra code, but I'm submitting it for future reference at least. Regards, Juan José Santamaría Flecha
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