public inbox for [email protected]
help / color / mirror / Atom feedFrom: Fujii Masao <[email protected]>
To: [email protected]
Subject: pgsql: ecpg: Add TAP test for the ecpg command.
Date: Tue, 04 Mar 2025 06:00:20 +0000
Message-ID: <[email protected]> (raw)
ecpg: Add TAP test for the ecpg command.
This commit adds a TAP test to verify that the ecpg command correctly
detects unsupported or disallowed statements in input files and reports
the appropriate error or warning messages.
This test helps catch bugs like the one introduced in commit 3d009e45bd,
which broke ecpg's handling of unsupported COPY FROM STDIN statements,
later fixed by commit 94b914f601b.
Author: Ryo Kanbayashi <[email protected]>
Reviewed-by: Fujii Masao <[email protected]>
Discussion: https://postgr.es/m/CANOn0EzoMyxA1m-quDS1UeQUq6FNki6+GGiGucgr9tm2R78rKw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/28f04984f0c240b76e61f00cd247554fbc850056
Modified Files
--------------
src/interfaces/ecpg/preproc/Makefile | 3 ++
src/interfaces/ecpg/preproc/meson.build | 13 +++++++
.../ecpg/preproc/t/001_ecpg_err_warn_msg.pl | 40 +++++++++++++++++++++
.../preproc/t/002_ecpg_err_warn_msg_informix.pl | 22 ++++++++++++
src/interfaces/ecpg/preproc/t/err_warn_msg.pgc | 42 ++++++++++++++++++++++
.../ecpg/preproc/t/err_warn_msg_informix.pgc | 18 ++++++++++
6 files changed, 138 insertions(+)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: ecpg: Add TAP test for the ecpg command.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox