Re: Hide exposed impl detail of wchar.c

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Jubilee Young <workingjubilee@gmail.com>
Cc: pgsql-hackers@postgresql.org, andres@anarazel.de, johncnaylorls@gmail.com, tgl@sss.pgh.pa.us
Date: 2024-01-04T22:43:29Z
Lists: pgsql-hackers
On Mon, Nov 20, 2023 at 10:39:43PM -0600, Nathan Bossart wrote:
> Alright.  The next minor release isn't until February, so I'll let this one
> sit a little while longer in case anyone objects to back-patching something
> like this [0].
> 
> [0] https://postgr.es/m/attachment/152305/move_is_valid_ascii_v2.patch

Barring objections, I plan to commit this and back-patch it to v16 in the
next few days.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



Commits

  1. Move is_valid_ascii() to ascii.h.

  2. Use SSE2 in is_valid_ascii() where available.