Re: ecpg command does not warn COPY ... FROM STDIN; - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: ecpg command does not warn COPY ... FROM STDIN;
Date
Msg-id 9efeeea1-7775-4957-8fc2-f3c877a86ffc@oss.nttdata.com
Whole thread Raw
In response to Re: ecpg command does not warn COPY ... FROM STDIN;  (Ryo Kanbayashi <kanbayashi.dev@gmail.com>)
Responses Re: ecpg command does not warn COPY ... FROM STDIN;
List pgsql-hackers

On 2025/01/12 18:27, Ryo Kanbayashi wrote:
> Thank you for reviewing patch :)
> The commit log matches with my recognition and has no problem.

Pushed. Thanks!

>>> check_patches.sh -> utility script for testing above two patches on
>>> each target branches
>>
>> Should we add a regression test to ensure ecpg correctly reports errors
>> and warnings, including the warning for COPY FROM STDIN? This could help
>> catch similar bugs more effectively. If agreed, we could create this
>> as a separate patch.
> 
> Of course there is no problem!
> I think a test like above becomes a good regression test too.

So, will you give creating the patch a try?

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION




pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: pgbench error: (setshell) of script 0; execution of meta-command failed
Next
From: Alvaro Herrera
Date:
Subject: Re: refactor AlterDomainAddConstraint (alter domain add constraint)