Re: Minor documentation error regarding streaming replication protocol - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Minor documentation error regarding streaming replication protocol
Date
Msg-id X9lVLGRuG0hTHrVo@paquier.xyz
Whole thread Raw
In response to Re: Minor documentation error regarding streaming replication protocol  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Dec 15, 2020 at 12:54:51PM -0800, Andres Freund wrote:
> Minor nit: I'd put this into common/string.[ch], besides
> pg_clean_ascii(). Probably renaming it to pg_is_ascii().

Yeah.  There is already one pg_is_ascii_string() in saslprep.c,
is_all_ascii() in  collationcmds.c and string_is_ascii() in
pgp-pgsql.c.  I don't think we need a fourth copy of the same logic,
even if it is dead simple.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: REINDEX backend filtering
Next
From: Michael Paquier
Date:
Subject: Re: Proposed patch for key managment