Re: BUG #17288: PSQL bug with COPY command (Windows) - Mailing list pgsql-bugs

From Juan José Santamaría Flecha
Subject Re: BUG #17288: PSQL bug with COPY command (Windows)
Date
Msg-id CAC+AXB3HYLRNkasB_UY1Lob3wv3f9jMXE3t96Mb885njOoBxWQ@mail.gmail.com
Whole thread Raw
In response to Re: BUG #17288: PSQL bug with COPY command (Windows)  (Dmitry Koval <d.koval@postgrespro.ru>)
Responses Re: BUG #17288: PSQL bug with COPY command (Windows)
List pgsql-bugs

On Mon, Nov 29, 2021 at 7:51 AM Michael Paquier <michael@paquier.xyz> wrote:

We know that GetFileInformationByHandle() would be able to work in
the scope of win32stat.c as it is supported down to Windows XP so we
would be covered, so switching to that instead of
GetFinalPathNameByHandleA() would take care of the problem.  Better to
call that only for a standard stream, only for the emulation of
fstat(), in the spirit of the original fix.

Fair enough. Windows XP support is a discussion for another thread.

Regards,

Juan José Santamaría Flecha

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17303: statement_timeout does not work always
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #17303: statement_timeout does not work always