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

From Michael Paquier
Subject Re: BUG #17288: PSQL bug with COPY command (Windows)
Date
Msg-id YaMkVha0ZwzHJk60@paquier.xyz
Whole thread Raw
In response to Re: BUG #17288: PSQL bug with COPY command (Windows)  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
On Sun, Nov 28, 2021 at 01:15:36PM +0900, Michael Paquier wrote:
> Using directly psql commands in the tests is not a good idea as it
> makes the client-side execution more sensitive to the environment.
> src/test/perl/PostgreSQL/Test/Cluster.pm does the same work, in the
> wanted way, so it would be better to rely on it (see 384f1ab for one
> recent issue).  A test with a minimal timeout also takes time, making
> for slower tests on faster machines.

Or, rather than relying on a small timeout, could we just send some
data to stdin and check the table's contents in return?  That would
make the test faster, while not penalizing the coverage.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #17288: PSQL bug with COPY command (Windows)
Next
From: Tom Lane
Date:
Subject: Re: BUG #17301: SELECT gets weird result while two transactions are submitted concurrently