Re: Refactor routine to check for ASCII-only case
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Michael Paquier <michael@paquier.xyz>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-12-18T16:30:16Z
Lists: pgsql-hackers
Greetings, * Heikki Linnakangas (hlinnaka@iki.fi) wrote: > On 18/12/2020 05:57, Michael Paquier wrote: > >As mentioned in [1], there are three places where there is the same > >routine to check if a string is made only of ASCII characters. > > > >This makes for a small-ish but nice cleanup, as per the attached. > > +1 Yeah, in a quick look, this looks like a good improvement. Thanks, Stephen
Commits
-
Refactor logic to check for ASCII-only characters in string
- 93e8ff8701a6 14.0 landed