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: 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-26 12:37:49
Message-ID: CAC+AXB346f7MWjW3HDpN8ATBKrUzcQEZDRzzpryziN-+Y3gNNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Nov 25, 2021 at 4:23 AM Michael Paquier <michael(at)paquier(dot)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

Attachment Content-Type Size
0001-Test-for-Windows-stat-emulation-working-with-streams.patch application/x-patch 4.1 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-11-27 18:00:01 BUG #17300: Server crashes on deserializing text multirange
Previous Message Clemens Zeidler 2021-11-26 03:10:44 Re: BUG #17299: Exit code 3 when open connections concurrently (PQisthreadsafe() == 1)