pgsql: ecpg: Restore detection of unsupported COPY FROM STDIN. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: ecpg: Restore detection of unsupported COPY FROM STDIN.
Date
Msg-id E1tXjlr-001XVp-Kf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
ecpg: Restore detection of unsupported COPY FROM STDIN.

The ecpg command includes code to warn about unsupported COPY FROM STDIN
statements in input files. However, since commit 3d009e45bd,
this functionality has been broken due to a bug introduced in that commit,
causing ecpg to fail to detect the statement.

This commit resolves the issue, restoring ecpg's ability to detect
COPY FROM STDIN and issue a warning as intended.

Back-patch to all supported versions.

Author: Ryo Kanbayashi
Reviewed-by: Hayato Kuroda, Tom Lane
Discussion: https://postgr.es/m/CANOn0Ez_t5uDCUEV8c1YORMisJiU5wu681eEVZzgKwOeiKhkqQ@mail.gmail.com

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ba2dbedd539616734bb9c2a6ce74e593a9ee4052

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.addons | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: ecpg: Restore detection of unsupported COPY FROM STDIN.
Next
From: Fujii Masao
Date:
Subject: pgsql: ecpg: Restore detection of unsupported COPY FROM STDIN.