Refactor routine to check for ASCII-only case
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-12-18T03:57:12Z
Lists: pgsql-hackers
Attachments
- ascii-refactor-v1.patch (text/x-diff) patch v1
Hi all, 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. Thanks, [1]: https://www.postgresql.org/message-id/X9lVLGRuG0hTHrVo@paquier.xyz -- Michael
Commits
-
Refactor logic to check for ASCII-only characters in string
- 93e8ff8701a6 14.0 landed