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 1qmz0r-009cUA-I1 for pgsql-committers@arkaria.postgresql.org; Sun, 01 Oct 2023 16:09:45 +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 1qmz0q-00DUY9-9E for pgsql-committers@arkaria.postgresql.org; Sun, 01 Oct 2023 16:09:44 +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 1qmz0p-00DUIL-Tt for pgsql-committers@lists.postgresql.org; Sun, 01 Oct 2023 16:09:43 +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 1qmz0m-007dKB-4A for pgsql-committers@lists.postgresql.org; Sun, 01 Oct 2023 16:09:42 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qmz0l-00038i-Qg for pgsql-committers@lists.postgresql.org; Sun, 01 Oct 2023 16:09:39 +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 1qmz0l-0070Lv-7e for pgsql-committers@lists.postgresql.org; Sun, 01 Oct 2023 16:09:39 +0000 Content-Type: multipart/mixed; boundary="===============5030580378893822826==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: In COPY FROM, fail cleanly when unsupported encoding conversion X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Sun, 01 Oct 2023 16:09:39 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============5030580378893822826== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 SW4gQ09QWSBGUk9NLCBmYWlsIGNsZWFubHkgd2hlbiB1bnN1cHBvcnRlZCBlbmNvZGluZyBjb252 ZXJzaW9uIGlzIG5lZWRlZC4KCkluIHJlY2VudCByZWxlYXNlcywgc3VjaCBjYXNlcyBmYWlsIHdp dGggImNhY2hlIGxvb2t1cCBmYWlsZWQgZm9yCmZ1bmN0aW9uIDAiIHJhdGhlciB0aGFuIGNvbXBs YWluaW5nIHRoYXQgdGhlIGNvbnZlcnNpb24gZnVuY3Rpb24KZG9lc24ndCBleGlzdCBhcyBwcmlv ciB2ZXJzaW9ucyBkaWQuICBTZWVtcyB0byBiZSBhIGNvbnNlcXVlbmNlIG9mCnNsb3BweSByZWZh Y3RvcmluZyBpbiBjb21taXQgZjgyZGU1YzQ2LiAgQWRkIHRoZSBtaXNzaW5nIGVycm9yIGNoZWNr LgoKUGVyIHJlcG9ydCBmcm9tIFBpZXJyZSBGb3J0aW4uICBCYWNrLXBhdGNoIHRvIHYxNCB3aGVy ZSB0aGUKb3ZlcnNpZ2h0IGNyZXB0IGluLgoKRGlzY3Vzc2lvbjogaHR0cHM6Ly9wb3N0Z3IuZXMv bS8yMDIzMDkyOTE2MzczOS4zYmVhNDZlNS5wZm9ydGluQHBmb3J0aW4uY29tCgpCcmFuY2gKLS0t LS0tCm1hc3RlcgoKRGV0YWlscwotLS0tLS0tCmh0dHBzOi8vZ2l0LnBvc3RncmVzcWwub3JnL3Bn L2NvbW1pdGRpZmYvZDhhMDk5MzlhM2U4MzBjN2UyYzNhNjg5MjVkNWY0YzI5OGRjMzMzNgoKTW9k aWZpZWQgRmlsZXMKLS0tLS0tLS0tLS0tLS0Kc3JjL2JhY2tlbmQvY29tbWFuZHMvY29weWZyb20u YyB8IDYgKysrKysrCjEgZmlsZSBjaGFuZ2VkLCA2IGluc2VydGlvbnMoKykKCg== --===============5030580378893822826==--