Refactor routine to check for ASCII-only case - Mailing list pgsql-hackers

From Michael Paquier
Subject Refactor routine to check for ASCII-only case
Date
Msg-id X9womIn6rne6Gud2@paquier.xyz
Whole thread Raw
Responses Re: Refactor routine to check for ASCII-only case
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Proposed patch for key managment
Next
From: Dilip Kumar
Date:
Subject: Re: Parallel Inserts in CREATE TABLE AS