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 1wF2mT-004gqJ-2m for pgsql-general@arkaria.postgresql.org; Tue, 21 Apr 2026 04:32:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wF2mS-005yJz-0F for pgsql-general@arkaria.postgresql.org; Tue, 21 Apr 2026 04:32:12 +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.96) (envelope-from ) id 1wF2mR-005yJJ-2I for pgsql-general@lists.postgresql.org; Tue, 21 Apr 2026 04:32:11 +0000 Received: from mail-yx1-xb12f.google.com ([2607:f8b0:4864:20::b12f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wF2mP-00000002Ewp-2ACf for pgsql-general@lists.postgresql.org; Tue, 21 Apr 2026 04:32:11 +0000 Received: by mail-yx1-xb12f.google.com with SMTP id 956f58d0204a3-652f220595fso3810840d50.0 for ; Mon, 20 Apr 2026 21:32:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776745927; cv=none; d=google.com; s=arc-20240605; b=DDi62st9saYVDQTY57MnSr+71CtM7CsB2HcUFa5dXm91sHxBp2HD5A6nIw08nIXSY/ Js5kVi/sRKQWkMgyULC78H3cv9WwCFGuDISEV4Ex5VKSw5uH52p8EzaAjGc3AhKXPtJa RjfP90w3cmKdxtVvMSc1pL1xnt4z0FBb4YAz5xTwzUIGNyfq3/lCXloJ0sujzQEVwa0N diLs7Dio8Qy7v63XtntLap32xoM6hUjXX9cU8c0Sfd3dTVbt0GrcllU5oBliuSJgWhpn r1jIsoeDOiu+d8RF7Gp1tRnqNOeEstf0X51pU979+y+sa/6UZSRTxZ/zIK86DI3TbhXq /X2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:dkim-signature; bh=fHhDg2Hqbvf2Hg+z6Y/w6to26bVkrf8b0x6KppHP8YY=; fh=qwNGaHcl0R2pu9BGe54iIqu7LA58nIYKsPVn8rOFk6o=; b=SRkyQHDnYDDCEQlytnvosOEFdFHg3zQ2KBev0Eo1nCSFiM5geRKR7Uc+6+bE6on488 jKV6abUo8nkVFq3ENg3dk/1tAlQD9/ESaK4FF4kXjtQjb+gfd9WP9vODJLHLhcBKQZRy YqVWAJNhbr6jL8+3PHbjBP6lB2up9AjhnwjwRCS4zYO+iKg2EWD7+YBqoxBE1dBHkxsr Yr3Aqykpm8+HMymR7jC2C0rVXQzhidH8Yary56GT4/kSNJKaGVS/Nq2pKtSD4iKU2wsD 3ycYs82vkPSmqWBLDSNezKb1N/FhnVKmX2Z5xImomSD4m5WZBYwdGI1RxrvRAhXSh3KZ RU6g==; 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=1776745927; x=1777350727; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fHhDg2Hqbvf2Hg+z6Y/w6to26bVkrf8b0x6KppHP8YY=; b=VRsZd+p7+XtKLXWOX+oKDufbV4Bl0jUZBjgZ00pOJUZ1dFTcOj7S7dSBuiBqLnEZny oCyzsTCnWltpBZ1d+HAsAQl3ppDEZfiu55g3iOJyqSdlKIZ69pEdX5Gxm5wAgvyfRmO/ qPlEbtS9RpNgnqhJ2hsLuxZTYSBOEvVyng4q8sCj9kD/0dMFeNltf1I7YN8XcxRHybNe 4Eylhv9cNYjSHO8wND9ODWoAuBYav06OW34xsnxY207lV6puK7fgFuChhPUC8iRQLgF4 ge2oT/DfeJP2WyZLpYWYiiQHRmY/OCXaNMl5HUTZx4PWfYHwqDTEvhk7fBWXmq3leh+J DDPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776745927; x=1777350727; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fHhDg2Hqbvf2Hg+z6Y/w6to26bVkrf8b0x6KppHP8YY=; b=dCpVmwDi0RplBf4cnAzAMYo1s1ZtXitzLpW2UD6lHpasrgPbNuv7diuZpqPtsZEnBS L+fUXcNYtI8lg5OMp/ms3H6z3LuKQ6ZzrpxhBENpLWRAko4KDIplTzAHJ5jySHdTCkdX cDFJSxAgJp4+cFqvciGySvJBtUh+27cH+qPBs4Ylj6WnbQE6i08aIDoZHBoJuTl3GfV+ mFARRsxce3MDkRdSeWFJQRykv3lIcxiZ1AQ3OSx8+L0CuN6JhpzI/3V3Sa7T1VakcjkY nh12GDhXXx0GVQ3+mYVczsRR4sVQ2U/wBBEI00SWYm9T6xJ6XxTxL+P1FViM9Ul+/7Cd X/zA== X-Forwarded-Encrypted: i=1; AFNElJ+pFTO+iEOnJ+j8CplORIM3IVvDGgzno1FPAzilOQY9ipMq1O+zhgradlsia2U+wPJwlO2+CYURXb1CDOuW@lists.postgresql.org X-Gm-Message-State: AOJu0YwlWvCnzIWvY2x6+Wl6zbrtkjgAZtjGGxq+any4alZbyE/naZE4 3wzrNCLPuXXGX5Hz8gTZU1QZM8oc4buA1eL97Ajb5D3s/eQQDEZZ6a3FADl7jF7ngMYLhk4HRUP TTc1ZjFeBQ5c0jhpwOr9sENK2YZ0R+0BAGA== X-Gm-Gg: AeBDiesaCKtMlwxGpPT8GoY9xBySuq6ses9cg17QyXqlT5H9tSUr89hyi0IsO20RLQr sUlYFtlfp2PGT2xPvJEmFgj0iGlPNjOlCuu59iMVzZBHnK8Te5i9EA194kTrYyO7ViTvqjb1Vut q4lmzptj/s77mLeODHDUgsw3nSOhY4L5Uf4WGjfG7CPf+lqnh6Jr7dUbQUOY24h/C3IHXNQODoQ 6kMfnPBG0mS5WRvyp5SCbKzoBnXd3eksHQ+iLvhfy725vMt6xPXaFQG5AaVy+P0pOcE/Bsue2RT g2iWEeroPjl/qRZLznBs4/ohaDWa X-Received: by 2002:a05:690e:4088:b0:654:27b0:8881 with SMTP id 956f58d0204a3-65427b09065mr6474624d50.3.1776745927334; Mon, 20 Apr 2026 21:32:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:7010:82c7:10b0:515:5ebc:f30f with HTTP; Mon, 20 Apr 2026 21:32:06 -0700 (PDT) In-Reply-To: References: <71cd4015-9002-4173-bd9a-075f7afb3c20@aklaver.com> <5f263a8a-9c30-4118-b410-6e25eafde156@aklaver.com> From: "David G. Johnston" Date: Mon, 20 Apr 2026 21:32:06 -0700 X-Gm-Features: AQROBzBQwZi_84K_zi7sK0taOv2NWYwNkjXU8P3VJAuTuBpJkVEthw2UP0Fmbis Message-ID: Subject: Re: List of encodings To: Igor Korot Cc: Ron Johnson , "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000dade7a064ff0e5c9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000dade7a064ff0e5c9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Monday, April 20, 2026, Igor Korot wrote: > Hi, everybody, > > On Mon, Apr 20, 2026 at 8:29=E2=80=AFPM David G. Johnston > wrote: > > > > On Mon, Apr 20, 2026 at 7:47=E2=80=AFPM Igor Korot = wrote: > >> > >> My understanding is that if I have 3 "BIG5" encodings, only one can be > >> a default. > > > > > > That would be a misunderstanding of what a conversion table is about. > > What I did: > > 1. Google "PostgreSQL create database" > 2. Click the first link - to PostgreSQL documentation. > 3. The command have many options. One of them is "Encoding". > 4, Scrolled down for an explanation. The explanation had a link. > 5. Clicked the link. Received a page with the list of encodings. > > At this point I asked the original question > Does the list on that page stored somewhere? Or it is hardcoded inside > the sources? > > That's when I started receiving a references to that table. > > Did I ask the wrong question? > And the answer you got was =E2=80=9Cno, it=E2=80=99s not (i.e., it=E2=80=99= s hardcoded inside), but you can get to it indirectly=E2=80=9D. In this case if you involve the pgconversion table you should ignore the conversion is default field as it has nothing to do with the question - what encodings does the system recognize. You also got an answer involving generate_series. David J. --000000000000dade7a064ff0e5c9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Monday, April 20, 2026, Igor Korot <ikorot01@gmail.com> wrote:
Hi= , everybody,

On Mon, Apr 20, 2026 at 8:29=E2=80=AFPM David G. Johnston
<david.g.johnston@gmail.co= m> wrote:
>
> On Mon, Apr 20, 2026 at 7:47=E2=80=AFPM Igor Korot <ikorot01@gmail.com> wrote:
>>
>> My understanding is that if I have 3 "BIG5" encodings, o= nly one can be
>> a default.
>
>
> That would be a misunderstanding of what a conversion table is about.<= br>
What I did:

1. Google "PostgreSQL create database"
2. Click the first link - to PostgreSQL documentation.
3. The command have many options. One of them is "Encoding".
4, Scrolled down for an explanation. The explanation had a link.
5. Clicked the link. Received a page with the list of encodings.

At this point I asked the original question
Does the list on that page stored somewhere? Or it is hardcoded inside
the sources?

That's when I started receiving a references to that table.

Did I ask the wrong question?

And the answer you got was =E2=80=9Cno, it= =E2=80=99s not (i.e., it=E2=80=99s hardcoded inside), but you can get to it= indirectly=E2=80=9D.=C2=A0 In this case if you involve the pgconversion ta= ble you should ignore the conversion is default field as it has nothing to = do with the question - what encodings does the system recognize.=C2=A0 You = also got an answer involving generate_series.

Davi= d J.
=C2=A0=C2=A0
--000000000000dade7a064ff0e5c9--