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

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>, Karen Jex <karenjex(at)hotmail(dot)com>
Cc: 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-11 10:58:48
Message-ID: 72a2c1fe-5782-463a-a216-7d77eceeac4d@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 06.11.26 15:49, David E. Wheeler wrote:
> On Nov 6, 2026, at 09:44, Karen Jex <karenjex(at)hotmail(dot)com> wrote:
>
>> I would love to take this on - thank you for flagging it as a potential first doc-hacking task.
>
>
> Yay!
>
>> Just to confirm my understanding:
>> 1. We should use "cleartext" and "plaintext" throughout, not "clear-text", "clear text", "plain text" or "plain-text".
>> 2. There is at least one case where "plaintext" is used incorrectly in place of "cleartext”.
>
> I thought these were synonyms, in contrast to “ciphertext”. Should we not pick one to replace all of the others? Searching around a bit, it seems like “ciphertext” and “plaintext” are most often contrasting terms, e.g., https://en.wikipedia.org/wiki/Ciphertext.

My understanding is/was that plaintext is data meant for encryption,
after which it becomes ciphertext. Cleartext is data not meant for
encryption.

So you would use plaintext and ciphertext when describing the steps of
an encryption method. And you would use cleartext when describing what
goes over the wire when you do do LDAP authentication in PostgreSQL.

But it seems like these terms are not actually universally used that
way. If we tidy this up, consider adding glossary entries.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2026-11-11 11:43:13 Re: Good beginner doc-hacking task: clear-text vs. cleartext vs. clear text vs. plaintext etc..
Previous 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..