Re: Remove invalid SS2/SS3 handling from EUC-KR routines

From: John Naylor <johncnaylorls(at)gmail(dot)com>
To: assam258(at)gmail(dot)com
Cc: SungJun Jang <sjjang112233(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Junwang Zhao <zhjwpku(at)gmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, li(dot)evan(dot)chao(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org, Tatsuo Ishii <ishii(at)postgresql(dot)org>, thomas(dot)munro(at)gmail(dot)com
Subject: Re: Remove invalid SS2/SS3 handling from EUC-KR routines
Date: 2026-09-25 11:00:02
Message-ID: CANWCAZZZ-TL_1=LqpdsdCkLREL7zxaWWaLduvysXf=J=CPqNug@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 20, 2026 at 12:11 PM Henson Choi <assam258(at)gmail(dot)com> wrote:
> From your message of May 13:
>
> > Does this structure work for you, or would you prefer a different
> > approach?
>
> It works. 0001 baseline capture, then 0002 with the fix, is a good
> idea.

+1

> That is what I had asked for. I have now reviewed v3 and I think it
> should go in as it stands. CI is green, so I am marking this Ready for
> Committer.

Doesn't that just contradict what you said above? I've set it back to
waiting on author.

While looking, I've found another behavior change that should be
called out -- data type width calculations can change query plans:

createdb -T template0 -E EUC_KR --locale=C euc_kr

psql -d euc_kr -X <<'EOF'
create table t(c char(10), v varchar(10));
explain select c from t;
explain select v from t;
EOF

master:
QUERY PLAN
-----------------------------------------------------
Seq Scan on t (cost=0.00..18.50 rows=850 width=34)
(1 row)

QUERY PLAN
-----------------------------------------------------
Seq Scan on t (cost=0.00..18.50 rows=850 width=33)
(1 row)

v3:
QUERY PLAN
------------------------------------------------------
Seq Scan on t (cost=0.00..20.70 rows=1070 width=24)
(1 row)

QUERY PLAN
------------------------------------------------------
Seq Scan on t (cost=0.00..20.70 rows=1070 width=24)
(1 row)

--
John Naylor
Amazon Web Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Nazir Bilal Yavuz 2026-09-25 10:58:43 Re: convert CI CompilerWarnings job to meson