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 @@ ...@@ -1264,12 +1264,14 @@
<entry><structfield>rolpassword</structfield></entry> <entry><structfield>rolpassword</structfield></entry>
<entry><type>text</type></entry> <entry><type>text</type></entry>
<entry> <entry>
Password (possibly encrypted); null if none. If the password is Password (possibly encrypted); null if none. If the password
encrypted, this column will contain the string <literal>md5</> followed by a is encrypted, this column will begin with the string <literal>md5</>
32-character hexadecimal MD5 hash. The MD5 hash will be of the followed by a 32-character hexadecimal MD5 hash. The MD5 hash
user's password concatenated to their username (for example, if will be of the user's password concatenated to their username.
user joe has password xyzzy, <productname>PostgreSQL</> will store For example, if user <literal>joe</> has password <literal>xyzzy</>,
the md5 hash of xyzzyjoe). <productname>PostgreSQL</> will store the md5 hash of
<literal>xyzzyjoe</>. A password that does not follow that
format is assumed to be unencrypted.
</entry> </entry>
</row> </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