]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Remove notes about "unencrypted" passwords.
authorNathan Bossart <nathan@postgresql.org>
Wed, 4 Jun 2025 14:47:25 +0000 (09:47 -0500)
committerNathan Bossart <nathan@postgresql.org>
Wed, 4 Jun 2025 14:47:25 +0000 (09:47 -0500)
The documentation for the pg_authid system catalog and the
pg_shadow system view indicates that passwords might be stored in
cleartext, but that hasn't been possible for some time.

Oversight in commit eb61136dc7.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/aD2yKkZro4nbl5ol%40nathan
Backpatch-through: 13

doc/src/sgml/catalogs.sgml
doc/src/sgml/system-views.sgml

index a63cc71efa2f1f36a8ec787c3c86ee12239582a2..9f237a1a6f54e7715362e99d7d8e1725688a9ffa 100644 (file)
        <structfield>rolpassword</structfield> <type>text</type>
       </para>
       <para>
-       Password (possibly encrypted); null if none. The format depends
+       Encrypted password; null if none. The format depends
        on the form of encryption used.
       </para></entry>
      </row>
@@ -1626,11 +1626,6 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
    <replaceable>ServerKey</replaceable> are in Base64 encoded format. This format is
    the same as that specified by <ulink url="https://datatracker.ietf.org/doc/html/rfc5803">RFC 5803</ulink>.
   </para>
-
-  <para>
-    A password that does not follow either of those formats is assumed to be
-    unencrypted.
-  </para>
  </sect1>
 
 
index a852bdb99a31f513de615a09dfc55aaf5f3f46f3..f36a89cc74aea18337a7388423447fc9c1b54535 100644 (file)
@@ -3578,7 +3578,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
        <structfield>passwd</structfield> <type>text</type>
       </para>
       <para>
-       Password (possibly encrypted); null if none.  See
+       Encrypted password; null if none.  See
        <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>
        for details of how encrypted passwords are stored.
       </para></entry>