Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2xmm-0091gH-CK for pgsql-committers@arkaria.postgresql.org; Mon, 21 Oct 2024 19:09:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t2xmk-00Alsf-Ha for pgsql-committers@arkaria.postgresql.org; Mon, 21 Oct 2024 19:09:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2xln-00AimX-FF for pgsql-committers@lists.postgresql.org; Mon, 21 Oct 2024 19:08:47 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2xlk-002Gkw-VS for pgsql-committers@lists.postgresql.org; Mon, 21 Oct 2024 19:08:47 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2xli-006U1A-Bj for pgsql-committers@lists.postgresql.org; Mon, 21 Oct 2024 19:08:43 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t2xli-001nJF-Mw for pgsql-committers@lists.postgresql.org; Mon, 21 Oct 2024 19:08:42 +0000 Content-Type: multipart/mixed; boundary="===============1214968697216469287==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: Fix wrong assertion and poor error messages in "COPY (query) TO" X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Mon, 21 Oct 2024 19:08:42 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============1214968697216469287== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Rml4IHdyb25nIGFzc2VydGlvbiBhbmQgcG9vciBlcnJvciBtZXNzYWdlcyBpbiAiQ09QWSAocXVl cnkpIFRPIi4KCklmIHRoZSBxdWVyeSBpcyByZXdyaXR0ZW4gaW50byBhIE5PVElGWSBjb21tYW5k IGJ5IGEgRE8gSU5TVEVBRApydWxlLCB3ZSdkIGdldCBhbiBhc3NlcnRpb24gZmFpbHVyZSwgb3Ig aW4gbm9uLWFzc2VydCBidWlsZHMKaXNzdWUgYSByYXRoZXIgY29uZnVzaW5nIGVycm9yIG1lc3Nh Z2UuICBJbXByb3ZlIHRoYXQuCgpBbHNvIGZpeCBhIGxvbmdzdGFuZGluZyBncmFtbWFyIG1pc3Rh a2UgaW4gYSBuZWFyYnkgZXJyb3IgbWVzc2FnZS4KClBlciBidWcgIzE4NjY0IGZyb20gQWxleGFu ZGVyIExha2hpbi4gIEJhY2stcGF0Y2ggdG8gYWxsIHN1cHBvcnRlZApicmFuY2hlcy4KClRlbmRl ciBXYW5nIGFuZCBUb20gTGFuZQoKRGlzY3Vzc2lvbjogaHR0cHM6Ly9wb3N0Z3IuZXMvbS8xODY2 NC1mZmQwZWJjMjM4NjU5OGRmQHBvc3RncmVzcWwub3JnCgpCcmFuY2gKLS0tLS0tCm1hc3RlcgoK RGV0YWlscwotLS0tLS0tCmh0dHBzOi8vZ2l0LnBvc3RncmVzcWwub3JnL3BnL2NvbW1pdGRpZmYv NjhhZDk4MTZjMTg5OTU4YTA3MzFkOGQ1ZWFkNzU0NTg3OGZkZjE1ZAoKTW9kaWZpZWQgRmlsZXMK LS0tLS0tLS0tLS0tLS0Kc3JjL2JhY2tlbmQvY29tbWFuZHM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