Hi Michael, ping.
(Do you think that this patch is still needed?) Thanks, -- kou In <20240214.114608.2091541942684063981....@clear-code.com> "Re: confusing / inefficient "need_transcoding" handling in copy" on Wed, 14 Feb 2024 11:46:08 +0900 (JST), Sutou Kouhei <k...@clear-code.com> wrote: > Hi, > > In <zcvlgmejt3qy8...@paquier.xyz> > "Re: confusing / inefficient "need_transcoding" handling in copy" on Wed, > 14 Feb 2024 06:56:16 +0900, > Michael Paquier <mich...@paquier.xyz> wrote: > >> We have a couple of non-ASCII characters in the tests, but I suspect >> that this one will not be digested correctly everywhere, even if >> EUC_JP should be OK to use for the check. How about writing an >> arbitrary sequence of bytes into a temporary file that gets used for >> the COPY FROM instead? See for example how we do that with >> abs_builddir in copy.sql. > > It makes sense. How about the attached patch? > > > Thanks, > -- > kou