From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Simplify coding style of is_valid_ascii()
Date: Fri, 05 Aug 2022 09:53:48 +0000
Message-ID: <E1oJu1c-000PSf-2t@gemulon.postgresql.org> (raw)
Simplify coding style of is_valid_ascii()
Calculate end of input rather than maintaining length,
per prior suggestion from Heikki Linnakangas. In passing,
use more natural language in a comment.
Discussion: https://www.postgresql.org/message-id/b4648cc2-5e9c-c93a-52cc-51e5c658a4f6%40iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6b41a1579bd37aa95924d592d7a18a79d669662f
Modified Files
--------------
src/include/mb/pg_wchar.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: john.naylor@postgresql.org
Subject: Re: pgsql: Simplify coding style of is_valid_ascii()
In-Reply-To: <E1oJu1c-000PSf-2t@gemulon.postgresql.org>
References: <E1oJu1c-000PSf-2t@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox