From: | Koichi Suzuki <koichi(dot)suzuki(at)enterprisedb(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Tatsuo Ishii <ishii(at)postgresql(dot)org>, koichi(dot)dbms(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #18735: Specific multibyte character in psql file path command parameter for Windows |
Date: | 2025-01-28 06:34:17 |
Message-ID: | CAAhp3gdpyJ7TQXrHFWY=2ZcEBZi6yDfY_4G=Rdz8mhp=F0-ioA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hello Here;
My colleagues in EDB kindly built PG 17.2 test installer for WIndows with
Tom's patch. I ran this in my Windows environment and the patch looks to
work fine. Anybody can download this package from
https://get.enterprisedb.com/test-installers/postgresql-17.2-0.0snapshot12926810582.1090.1.7c5fded.3-windows-x64.exe
for test.
Hope this is helpful. If possible, I'd like to ask to commit Tom's patch,
not only to the latest major but also to older majors.
Regards;
---
*Koichi Suzuki*
Senior Principal Support Engineer
On Mon, Dec 9, 2024 at 5:33 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Tatsuo Ishii <ishii(at)postgresql(dot)org> writes:
> >> Another way, given that we only really need this to work for
> >> SJIS, is to hard-wire the logic into path.c --- it's not like
> >> pg_sjis_mblen is either long or likely to change. That's
> >> ugly but would be a lot less invasive and safer to back-patch.
> >> I'm leaning a bit to the second way, mainly because of the
> >> extern-relocation annoyance.
>
> > +1. I believe the logic of detecting byte length in Shift-JIS will not
> > be changed.
>
> OK. I know I said I wasn't going to write this, but here's a draft
> patch that assumes we need only touch psql and can rely on its idea
> of client_encoding.
>
> I'm not in a position to test this.
>
> regards, tom lane
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | AKASH | 2025-01-28 06:46:58 | Re: Evidence of Ownership Issues During Restoration of Extension Member Objects |
Previous Message | Tom Lane | 2025-01-28 06:33:50 | Re: Evidence of Ownership Issues During Restoration of Extension Member Objects |