Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlFwt-001yb7-Jx for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Sep 2023 21:50:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qlFws-00FXZr-9X for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Sep 2023 21:50:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlFwr-00FXZQ-Uv for pgsql-hackers@lists.postgresql.org; Tue, 26 Sep 2023 21:50:29 +0000 Received: from janus.karlpinc.com ([173.161.46.12] helo=smtp.karlpinc.com) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlFwp-006oOk-9l for pgsql-hackers@lists.postgresql.org; Tue, 26 Sep 2023 21:50:28 +0000 Received: from dummy.faircode.eu (unknown [172.59.186.4]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.karlpinc.com (Postfix) with ESMTPSA id 6872EA32A; Tue, 26 Sep 2023 16:50:25 -0500 (CDT) Date: Tue, 26 Sep 2023 16:50:20 -0500 (CDT) From: "Karl O. Pinc" To: Tom Lane Cc: "Hayato Kuroda (Fujitsu)" , 'jian he' , Postgres hackers Message-ID: In-Reply-To: <434567.1695751283@sss.pgh.pa.us> References: <20230926010328.2c556046@slate.karlpinc.com> <20230926124553.6884c912@slate.karlpinc.com> <434567.1695751283@sss.pgh.pa.us> Subject: Re: [PGdocs] fix description for handling pf non-ASCII characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sep 26, 2023 1:10:55 PM Tom Lane : > "Karl O. Pinc" writes: >> For the last hunk you'd change around "anything".=C2=A0 Write: >> "... it will be truncated to less than NAMEDATALEN characters and >> the bytes of the string which are not printable ASCII characters ...". > >> Notice that I have also changed "that" to "which" just above.=C2=A0 >> I _think_ this is better English. > > No, I'm pretty sure you're mistaken.=C2=A0 It's been a long time since > high school English, but the way I think this works is that "that" > introduces a restrictive clause, which narrows the scope of what > you are saying.=C2=A0 That is, you say "that" when you want to talk > about only the bytes of the string that aren't ASCII.=C2=A0 But "which" > introduces a non-restrictive clause that adds information or > commentary.=C2=A0 If you say "bytes of the string which are not ASCII", > you are effectively making a side assertion that no byte of the > string is ASCII.=C2=A0 Which is not the meaning you want here. Makes sense to me.=C2=A0 "That" it is. Thanks for the help. I never would have figured that out.