Commit 00dd3402 authored by Bruce Momjian's avatar Bruce Momjian

Improve docs for pg_authid encryption description with better markup and

a mention of unencrypted passwords.
parent 2dbed56c
......@@ -1264,12 +1264,14 @@
<entry><structfield>rolpassword</structfield></entry>
<entry><type>text</type></entry>
<entry>
Password (possibly encrypted); null if none. If the password is
encrypted, this column will contain the string <literal>md5</> followed by a
32-character hexadecimal MD5 hash. The MD5 hash will be of the
user's password concatenated to their username (for example, if
user joe has password xyzzy, <productname>PostgreSQL</> will store
the md5 hash of xyzzyjoe).
Password (possibly encrypted); null if none. If the password
is encrypted, this column will begin with the string <literal>md5</>
followed by a 32-character hexadecimal MD5 hash. The MD5 hash
will be of the user's password concatenated to their username.
For example, if user <literal>joe</> has password <literal>xyzzy</>,
<productname>PostgreSQL</> will store the md5 hash of
<literal>xyzzyjoe</>. A password that does not follow that
format is assumed to be unencrypted.
</entry>
</row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment