Refactor routine to check for ASCII-only case

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Refactor routine to check for ASCII-only case
Date: 2020-12-18 03:57:12
Message-ID: X9womIn6rne6Gud2@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
ascii-refactor-v1.patch text/x-diff 5.4 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2020-12-18 04:38:00 Re: Parallel Inserts in CREATE TABLE AS
Previous Message Bruce Momjian 2020-12-18 03:21:14 Re: Proposed patch for key managment