postgresql/src
Fujii Masao 226c9048d7 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:25:52 +09:00
..
backend Fix potential integer overflow in bringetbitmap() 2025-01-14 15:13:20 +09:00
bin Fix off_t overflow in pg_basebackup on Windows. 2025-01-09 16:05:36 +13:00
common Fix overread in JSON parsing errors for incomplete byte sequences 2024-05-09 12:45:51 +09:00
fe_utils Clean up assorted failures under clang's -fsanitize=undefined checks. 2022-03-03 18:13:24 -05:00
include Provide 64-bit ftruncate() and lseek() on Windows. 2025-01-09 14:57:02 +13:00
interfaces ecpg: Restore detection of unsupported COPY FROM STDIN. 2025-01-15 01:25:52 +09:00
makefiles Remove libpq.rc, use win32ver.rc for libpq 2020-01-15 15:06:12 +01:00
pl Repair memory leaks in plpython. 2025-01-11 11:45:56 -05:00
port Fix lstat() for broken junction points on Windows. 2024-11-08 09:46:39 +10:30
template On NetBSD, force dynamic symbol resolution at postmaster start. 2022-08-30 17:29:08 -04:00
test Fix XMLTABLE() deparsing to quote namespace names if necessary. 2025-01-12 13:02:56 +00:00
timezone Update time zone data files to tzdata release 2024b. 2024-10-29 11:50:10 -04:00
tools Skip SectionMemoryManager.h in cpluspluscheck. 2024-11-28 15:48:52 +13:00
tutorial Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Suppress macOS warnings about duplicate libraries in link commands. 2023-09-29 14:07:30 -04:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
nls-global.mk NLS: Fix backend gettext triggers 2019-09-23 09:04:20 +02:00