|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.229 2010/09/13 01:23:35 rhaas Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.230 2010/09/13 17:02:34 rhaas Exp $ --> |
2 | 2 | <!-- |
3 | 3 | Documentation of the system catalogs, directed toward PostgreSQL developers |
4 | 4 | --> |
|
1179 | 1179 | <row> |
1180 | 1180 | <entry><structfield>rolpassword</structfield></entry> |
1181 | 1181 | <entry><type>text</type></entry> |
1182 | | - <entry>Password (possibly encrypted); null if none</entry> |
| 1182 | + <entry> |
| 1183 | + Password (possibly encrypted); null if none. If the password is |
| 1184 | + encrypted, this column will contain the string md5 followed by a |
| 1185 | + 32-character hexadecimal MD5 hash. The MD5 hash will be of the |
| 1186 | + user's password concatenated to their username (for example, if |
| 1187 | + user joe has password xyzzy, <productname>PostgreSQL</> will store |
| 1188 | + the md5 hash of xyzzyjoe). |
| 1189 | + </entry> |
1183 | 1190 | </row> |
1184 | 1191 |
|
1185 | 1192 | <row> |
|
6938 | 6945 | <productname>PostgreSQL</productname> before version 8.1. |
6939 | 6946 | It shows properties of all roles that are marked as |
6940 | 6947 | <structfield>rolcanlogin</> in |
6941 | | - <link linkend="catalog-pg-authid">pg_authid</link>. |
| 6948 | + <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>. |
6942 | 6949 | </para> |
6943 | 6950 |
|
6944 | 6951 | <para> |
|
7005 | 7012 | <entry><structfield>passwd</structfield></entry> |
7006 | 7013 | <entry><type>text</type></entry> |
7007 | 7014 | <entry></entry> |
7008 | | - <entry>Password (possibly encrypted)</entry> |
| 7015 | + <entry>Password (possibly encrypted); null if none. See |
| 7016 | + <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link> |
| 7017 | + for details of how encrypted passwords are stored.</entry> |
7009 | 7018 | </row> |
7010 | 7019 |
|
7011 | 7020 | <row> |
|
0 commit comments