EUC_* encodings: pass check-world

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: EUC_* encodings: pass check-world
Date: 2026-02-17 18:47:58
Message-ID: 20260217184758.da.noahmisch@microsoft.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Three src/pl tests have comments about how they fail in EUC_* encodings other
than EUC_JP_2004. I think this predates psql \if and \gset meta-commands
making test skips less onerous, so let's skip using those, as attached.

Why now? Commit c67bef3 added euc_kr.sql to exercise some code specific to
non-UTF8 multibyte encodings. I want it to be possible to exercise that code
with settings that also pass check-world as a whole. The alternative was to
use EUC_JP_2004 or maybe MULE_INTERNAL to exercise that code. EUC_KR is
closer to present-day relevance than MULE_INTERNAL or EUC_JP_2004, which don't
have glibc locales.

Attachment Content-Type Size
test-euc-v1.patch text/plain 11.6 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2026-02-17 19:07:42 Re: generating function default settings from pg_proc.dat
Previous Message Tom Lane 2026-02-17 18:41:49 Re: generating function default settings from pg_proc.dat