Re: BUG #17288: PSQL bug with COPY command (Windows)

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Justin Pryzby <pryzby(at)telsasoft(dot)com>, Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17288: PSQL bug with COPY command (Windows)
Date: 2021-11-29 07:53:28
Message-ID: CAC+AXB3HYLRNkasB_UY1Lob3wv3f9jMXE3t96Mb885njOoBxWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Nov 29, 2021 at 7:51 AM Michael Paquier <michael(at)paquier(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2021-11-29 13:54:07 Re: BUG #17303: statement_timeout does not work always
Previous Message Michael Paquier 2021-11-29 06:51:39 Re: BUG #17288: PSQL bug with COPY command (Windows)