1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

doc: Remove notes about "unencrypted" passwords.

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
This commit is contained in:
Nathan Bossart
2025-06-04 09:47:25 -05:00
parent cd31eaaebc
commit 1a7968ac5f

View File

@ -1562,7 +1562,7 @@
<structfield>rolpassword</structfield> <type>text</type> <structfield>rolpassword</structfield> <type>text</type>
</para> </para>
<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. on the form of encryption used.
</para></entry> </para></entry>
</row> </row>
@ -1598,11 +1598,6 @@ SCRAM-SHA-256$<replaceable>&lt;iteration count&gt;</replaceable>:<replaceable>&l
<replaceable>ServerKey</replaceable> are in Base64 encoded format. This format is <replaceable>ServerKey</replaceable> are in Base64 encoded format. This format is
the same as that specified by RFC 5803. the same as that specified by RFC 5803.
</para> </para>
<para>
A password that does not follow either of those formats is assumed to be
unencrypted.
</para>
</sect1> </sect1>
@ -12242,7 +12237,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
<structfield>passwd</structfield> <type>text</type> <structfield>passwd</structfield> <type>text</type>
</para> </para>
<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> <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>
for details of how encrypted passwords are stored. for details of how encrypted passwords are stored.
</para></entry> </para></entry>