Elaborate on what gets stored in pg_authid.rolpasswd.
authorRobert Haas
Mon, 13 Sep 2010 17:03:23 +0000 (17:03 +0000)
committerRobert Haas
Mon, 13 Sep 2010 17:03:23 +0000 (17:03 +0000)
Also, add cross-reference from pg_shadow.passwd to pg_authid.rolpasswd and
fix a bit of markup I muffed in my previous commit.

Per discussion with Josh Kupershmidt.

doc/src/sgml/catalogs.sgml

index 7889651e186ea90a9197c606a05fcc6049bc76f2..c1c7a2ab629e1449ec57fbcbe588cf842bf9f8fc 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
      
       rolpassword
       text
-      Password (possibly encrypted); null if none
+      
+       Password (possibly encrypted); null if none.  If the password is
+       encrypted, this column will contain the string 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, PostgreSQL will store
+       the md5 hash of xyzzyjoe).
+      
      
 
      
    PostgreSQL before version 8.1.
    It shows properties of all roles that are marked as
    rolcanlogin in
-   pg_authid.
+   pg_authid.
   
 
   
       passwd
       text
       
-      Password (possibly encrypted)
+      Password (possibly encrypted); null if none.  See
+      pg_authid
+      for details of how encrypted passwords are stored.