Re: ecpg command does not warn COPY ... FROM STDIN;

Fujii Masao <masao.fujii@oss.nttdata.com>

From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Ryo Kanbayashi <kanbayashi.dev@gmail.com>
Cc: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-01-17T13:51:49Z
Lists: pgsql-hackers

On 2025/01/17 17:46, Ryo Kanbayashi wrote:
>> So, will you give creating the patch a try?
> 
> Yes. I try to write the patch for regression test of ecpg command
> warning and error notice :)

Thanks!

> BTW, How should we handle commit fest entry below?
> 
> "ecpg command does not warn COPY ... FROM STDIN;"
> https://commitfest.postgresql.org/52/5497/
> 
> I think that the patch of regression test is not included the entry.

I've marked this entry as committed.

Please feel free to create a new CF entry for the regression test patch for ecpg.

Regards,

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




Commits

  1. ecpg: Restore detection of unsupported COPY FROM STDIN.

  2. plpgsql: pure parser and reentrant scanner

  3. Add support for piping COPY to/from an external program.