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-14T16:34:49Z
Lists: 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
Commits
-
ecpg: Restore detection of unsupported COPY FROM STDIN.
- 226c9048d734 13.19 landed
- d06ab3c0c117 14.16 landed
- 71ef47cf0f20 15.11 landed
- 5c7c34db2511 16.7 landed
- ba2dbedd5396 17.3 landed
- 94b914f601bd 18.0 landed
-
plpgsql: pure parser and reentrant scanner
- 7b27f5fd36cb 18.0 cited
-
Add support for piping COPY to/from an external program.
- 3d009e45bde2 9.3.0 cited