Re: Good beginner doc-hacking task: clear-text vs. cleartext vs. clear text vs. plaintext etc..

From: Karen Jex <karenhjex(at)gmail(dot)com>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Karen Jex <karenjex(at)hotmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Good beginner doc-hacking task: clear-text vs. cleartext vs. clear text vs. plaintext etc..
Date: 2026-11-10 16:30:11
Message-ID: CAOpR_fbRg0O_rsrkoJjnPe9aR7ChFuVgABe1rhwq=5EzPxt1GA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Le ven. 6 nov. 2026 à 20:16, Karen Jex <karenhjex(at)gmail(dot)com> a écrit :

> I see that the cleartext Wikipedia entry redirects to plaintext:
> https://en.wikipedia.org/wiki/Plaintext, which implies that plaintext
> may be the preferred term.

I originally thought we should standardise on "plaintext", but after
reviewing the ways in which the terms are used throughout the docs, I
propose the following approach:

1. Use "plain text" to indicate unformatted text: e.g. "...a plain
text file with special syntax that translators edit."
(https://www.postgresql.org/docs/devel/nls-translator.html#NLS-TRANSLATOR-CONCEPTS)

2. Use "cleartext" to indicate unencrypted passwords/secrets: e.g. "It
is good practice not to send the original cleartext password..."
(https://www.postgresql.org/docs/devel/libpq-misc.html#LIBPQ-PQENCRYPTPASSWORDCONN)
This is consistent with the AuthenticationCleartextPassword server
message referenced on the same page.

This is consistent with the vocabulary that is used most often in the
documentation, and the terms are different enough to avoid
confusion/ambiguity.

I attach the proposed patch and, for completeness, a csv file that
lists the proposed changes. I would be very grateful for any feedback
before I submit it to -hackers.

--
Karen

Attachment Content-Type Size
plaintext_proposed_changes.csv text/csv 10.1 KB
v1-0001-Doc-standardise-cleartext-and-plain-text-terms.patch application/octet-stream 19.9 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2026-11-11 07:22:42 Re: Good beginner doc-hacking task: clear-text vs. cleartext vs. clear text vs. plaintext etc..
Previous Message Tom Lane 2026-11-09 14:47:14 Re: Clarification of initdb ownership requirement on Windows