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-0091gG-Be 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-00Alsg-Ha for pgsql-committers@arkaria.postgresql.org; Mon, 21 Oct 2024 19:09:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2xlo-00Aith-P9 for pgsql-committers@lists.postgresql.org; Mon, 21 Oct 2024 19:08:49 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t2xlj-0023Wc-Vm 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-006U1B-AM 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-001nJG-NX for pgsql-committers@lists.postgresql.org; Mon, 21 Oct 2024 19:08:42 +0000 Content-Type: multipart/mixed; boundary="===============9090247981111522250==" 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 --===============9090247981111522250== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Rml4IHdyb25nIGFzc2VydGlvbiBhbmQgcG9vciBlcnJvciBtZXNzYWdlcyBpbiAiQ09QWSAocXVl cnkpIFRPIi4KCklmIHRoZSBxdWVyeSBpcyByZXdyaXR0ZW4gaW50byBhIE5PVElGWSBjb21tYW5k IGJ5IGEgRE8gSU5TVEVBRApydWxlLCB3ZSdkIGdldCBhbiBhc3NlcnRpb24gZmFpbHVyZSwgb3Ig aW4gbm9uLWFzc2VydCBidWlsZHMKaXNzdWUgYSByYXRoZXIgY29uZnVzaW5nIGVycm9yIG1lc3Nh Z2UuICBJbXByb3ZlIHRoYXQuCgpBbHNvIGZpeCBhIGxvbmdzdGFuZGluZyBncmFtbWFyIG1pc3Rh a2UgaW4gYSBuZWFyYnkgZXJyb3IgbWVzc2FnZS4KClBlciBidWcgIzE4NjY0IGZyb20gQWxleGFu ZGVyIExha2hpbi4gIEJhY2stcGF0Y2ggdG8gYWxsIHN1cHBvcnRlZApicmFuY2hlcy4KClRlbmRl ciBXYW5nIGFuZCBUb20gTGFuZQoKRGlzY3Vzc2lvbjogaHR0cHM6Ly9wb3N0Z3IuZXMvbS8xODY2 NC1mZmQwZWJjMjM4NjU5OGRmQHBvc3RncmVzcWwub3JnCgpCcmFuY2gKLS0tLS0tClJFTF8xN19T VEFCTEUKCkRldGFpbHMKLS0tLS0tLQpodHRwczovL2dpdC5wb3N0Z3Jlc3FsLm9yZy9wZy9jb21t aXRkaWZmLzM2ODVhZDYxODhjMTY5N2M4YTY4NWY4ZmFiZTc5ZTUwOGIwZGNjNmUKCk1vZGlmaWVk IEZpbGVzCi0tLS0tLS0tLS0tLS0tCnNyYy9iYWNrZW5kL2NvbW1hb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