postgresql/src
Fujii Masao 94b914f601 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
2025-01-15 01:23:02 +09:00
..
backend Consistently spell "leakproof" without a hyphen. 2025-01-14 13:50:54 +00:00
bin psql: Add leakproof indicator to \df+, \do+, \dAo+, and \dC+ output. 2025-01-14 13:23:24 +00:00
common Fix a compiler warning in initStringInfo(). 2025-01-11 15:52:37 +09:00
fe_utils flex code modernization: Replace YY_EXTRA_TYPE define with flex option 2025-01-06 09:47:58 +01:00
include Consistently spell "leakproof" without a hyphen. 2025-01-14 13:50:54 +00:00
interfaces ecpg: Restore detection of unsupported COPY FROM STDIN. 2025-01-15 01:23:02 +09:00
makefiles Update copyright for 2025 2025-01-01 11:21:55 -05:00
pl Repair memory leaks in plpython. 2025-01-11 11:45:56 -05:00
port Update copyright for 2025 2025-01-01 11:21:55 -05:00
template thread-safety: gmtime_r(), localtime_r() 2024-08-23 07:43:04 +02:00
test psql: Add leakproof indicator to \df+, \do+, \dAo+, and \dC+ output. 2025-01-14 13:23:24 +00:00
timezone Update copyright for 2025 2025-01-01 11:21:55 -05:00
tools Fix catcache invalidation of a list entry that's being built 2025-01-14 14:28:49 +02:00
tutorial Update copyright for 2025 2025-01-01 11:21:55 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Use <stdint.h> and <inttypes.h> for c.h integers. 2024-12-04 15:05:38 +13:00
Makefile.shlib Remove AIX support 2024-02-28 15:17:23 +04:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00