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.96) (envelope-from ) id 1wEYkM-0048yR-28 for pgsql-general@arkaria.postgresql.org; Sun, 19 Apr 2026 20:28:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wEYkL-00GGYf-2k for pgsql-general@arkaria.postgresql.org; Sun, 19 Apr 2026 20:28:01 +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.96) (envelope-from ) id 1wEYkL-00GGYW-1e for pgsql-general@lists.postgresql.org; Sun, 19 Apr 2026 20:28:01 +0000 Received: from mail-yw1-x112a.google.com ([2607:f8b0:4864:20::112a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wEYkJ-00000001ome-0oyy for pgsql-general@lists.postgresql.org; Sun, 19 Apr 2026 20:28:00 +0000 Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-797ab169454so31841057b3.3 for ; Sun, 19 Apr 2026 13:27:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776630479; cv=none; d=google.com; s=arc-20240605; b=cdm2mTB+ebRdzZeYW/jE1zXsT4/iJ2dgeOgGZxeO1DVV+J+c5eJkXwYn4g9WO3XLJ/ glW1MQHHAfAQ0bFZSAebEdbBfjUDF5hxq/yJWJjdbhxbjQTLDn8K3+WJkwQv3PaLoetP 0YML01aRUpthQFRnnlhj/efAlsokTfRwTrwKmEwCuwV8Olj7pOZI4AikVO8HekITil9V MtTx9BqEEZQKN7VoREpJLgkz3EvSfGAopVtdnht71dYY7CQouYpmvbN8GxMche1cT9pe 9Z+1pg83uW5Sy3NSURSspnFkkd/9hT965qMBr1+Bpis8ryZ1R+YIgk84WjvfOKFPrdyi awvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=McbGNiAT0w20E5c/n/8Obt9DbhdzqvpE26q2xq5jXzg=; fh=kyAsYl77KsxRDd0MpChrI1Mi1G/EXxKHRVc31UaZmY8=; b=RI/5mORATYFDQESLqlRZbBMyiB0a00riIVem/1Huhye5Z5K/naMBu5pwzzIUyu55Ft Q/mAssQezNdMP7jmkVTtWRPuwnjkwYd3Ltz08YPVPEyvyaPaBi6niuH73vmFrHGCC5XW Y11+cETDJDDp0WVV27v/E79ZsP0e/Wi8TPc+50hgho5tA6BfAohRR4n0ss5fgVJ0GZAI 29+E1pCrAAwYWMBYGcUOY7LWMSRr70RMbcwqyDlGI6APrTEyg6fR/Fy7LJ+WoBKLdC1v e2ZQ+/CH03r5MZi+wD9+L/SiMGQvsUM+7m47K4yGtZxj9S3ZwTjwwZSl1jQkxL46NwHy g1pA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776630479; x=1777235279; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=McbGNiAT0w20E5c/n/8Obt9DbhdzqvpE26q2xq5jXzg=; b=QOqgAChRVNFJCdMYeiTT+p5ObakMUeeNsZ5tPVrcIM0faMoa0wfPRrOsHt+jYQrZn6 HlZInAils2hmYyA2mhepqnPnIz11I0XqNYQ3jyPV8kOMsHVA4GIJI/0U0tQIgDbMOx9v UYBLmYevR010DJSw00NK513xJuy6AX5C28fHwg+m7lzAs1e97Wg0YuBW9MopahjdMxLJ bSGMgNtv7SKCkDd6OXTjMM28YfFAPSrADaxoJUMLbs8C+V2XQSzb6+tOIaWerTRZ+IwH XZGdquxZlB++IO8y3NFa+hhgbHhlwI+5sXg7PiTCmwJlXx6JyG3p3NO+myoeWCar8sOZ D8MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776630479; x=1777235279; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=McbGNiAT0w20E5c/n/8Obt9DbhdzqvpE26q2xq5jXzg=; b=mEdodRSW3Z/2Y6RNSvuCSTNFNgXXaMQWo69lTOqDaOmqwdAKUxqgURBPRqMvm+Av0v 3HCdPAo+XZi3dzptWa/H1L5HwNGvK2KFmPwbcQqciH4blranNKrvZQ1bb9qc+QJzPuOu zV1i5S74N7Z2rsn59AnfvkiBMJSynHbk0M6Wv08PBA6j3XKIm3cqQUlWqjWc0qBxG03U hhxFagriDAW5tW3IDGL85KvxyG1kzkWJHi2CFYexh3i0vLi5ewEvO6S8x6FyqEy1aRaJ JmHnihVR5JdjMfxEr3bN4VVtmWr8amt5ADuBgZfWIB4ROuO6srdAZf6JhRtobUfjj5q3 CD8g== X-Gm-Message-State: AOJu0YyDkrUHamIrKHcyfkUOc06kY+E8Lj9bZgUYT7EjMWREkgEINNVu /rXxv59u/ELCuNsn6WORnh6B9tHgjdxQT2rxvSUUp6LVOlUG8qk2Q+Nnjlj/qBiJuR9s3rwq8C0 SLhvoe6muXLbg6kCeomJVYy0fXDvrutU= X-Gm-Gg: AeBDieuGjnm3pNjo1Cuj4qeihHHqk171bLhBcC5yHvF46i8clJSp90lDrTcVCwgV9Hd ZHAxN9WW0WlvdZ2pa0Qn39b2JsBE6eWGDRA5SlGZa/8F37qiONf4NGLRluSKbZvwd0Ps+OE1SH4 GKfHnFB6cxODau4m0SExTGrEofcU+4SbMntp9SyL7rTURi0xDp5ZnSu3EGcHWQBumdWrtvbfb0x U9k7dHiHDexZ2oFg+MZ1qDLVdLKgAo0ZcU5QiG3R9yfsocC5hhpb1uzujme8CJm1kpWoK3AhqVZ wZYjKqr0suXEhudPN7yQ/kCj2r6lYQIBnv57wEkoxI7uAXIcqGlt3E774d4SoeS7 X-Received: by 2002:a05:690c:84:b0:7b7:6fab:fc21 with SMTP id 00721157ae682-7b9ecece7f0mr117589807b3.14.1776630478635; Sun, 19 Apr 2026 13:27:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Igor Korot Date: Sun, 19 Apr 2026 15:27:46 -0500 X-Gm-Features: AQROBzDb0aK0HETXU7CjsgOiWpFVI0z4VyUeN2bf_c8-6CuPsp2VxJpYliYVwEY Message-ID: Subject: Re: List of encodings To: "David G. Johnston" Cc: "pgsql-generallists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, David, On Sat, Apr 18, 2026 at 2:19=E2=80=AFAM David G. Johnston wrote: > > On Friday, April 17, 2026, Igor Korot wrote: >> >> Hi, ALL, >> Does the list shown in >> https://www.postgresql.org/docs/current/multibyte.html#MULTIBYTE-CHARSET= -SUPPORTED >> stored somewhere in INFORMATION_SCHEMA? > > > This wouldn=E2=80=99t be under the purview of information schema. You ca= n find pg-specific pieces though: > > https://www.postgresql.org/docs/current/catalog-pg-conversion.html > > Note the function used to convert ids to names. Tried the following query: SELECT conname AS name, pg_encoding_to_char( conforencoding ) AS encoding, condefault AS default FROM pg_conversion ORDER BY encoding; and got following results (for simplicity I will post only couple of rows): big5_to_utf8 | BIG5 | t big5_to_euc_tw | BIG5 | t big5_to_mic | BIG5 | t euc_cn_to_mic | EUC_CN | t euc_cn_to_utf8 | EUC_CN | t euc_jis_2004_to_shift_jis_2004 | EUC_JIS_2004 | t euc_jis_2004_to_utf8 | EUC_JIS_2004 | t euc_jp_to_mic | EUC_JP | t euc_jp_to_sjis | EUC_JP | t euc_jp_to_utf8 | EUC_JP | t euc_kr_to_utf8 | EUC_KR | t euc_kr_to_mic | EUC_KR | t euc_tw_to_big5 | EUC_TW | t euc_tw_to_utf8 | EUC_TW | t euc_tw_to_mic | EUC_TW | t What I noticed is that all encodings are default, as they all have 't' in the last column. It's a little confusing... Thx for the help. > >> >> >> Or is it hard coded inside the PostgreSQL codebase? > > > Yes. Doesn=E2=80=99t preclude exposing it via SQL but we don=E2=80=99t = do so directly. > > David J.