diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-01-31 22:53:58 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-01-31 22:53:58 -0500 |
commit | 00dd340210ed67900e03703eb088fdd5ab12c099 (patch) | |
tree | 286f23acb08bbe77a70bb2f74dadb2dd79cf9aec | |
parent | 2dbed56c5a86d45a66f41e6a8a16295bbfe46646 (diff) |
Improve docs for pg_authid encryption description with better markup and
a mention of unencrypted passwords.
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index ecedaccaf70..09152e6c5ce 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -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> |