Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd7a541a

Browse files
committed
Elaborate on what gets stored in pg_authid.rolpasswd.
Also, add cross-reference from pg_shadow.passwd to pg_authid.rolpasswd andfix a bit of markup I muffed in my previous commit.Per discussion with Josh Kupershmidt.
1 parentd1c33cc commitd7a541a

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

‎doc/src/sgml/catalogs.sgml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.229 2010/09/1301:23:35 rhaas Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/catalogs.sgml,v 2.230 2010/09/1317:02:34 rhaas Exp $ -->
22
<!--
33
Documentation of the system catalogs, directed toward PostgreSQL developers
44
-->
@@ -1179,7 +1179,14 @@
11791179
<row>
11801180
<entry><structfield>rolpassword</structfield></entry>
11811181
<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>
11831190
</row>
11841191

11851192
<row>
@@ -6938,7 +6945,7 @@
69386945
<productname>PostgreSQL</productname> before version 8.1.
69396946
It shows properties of all roles that are marked as
69406947
<structfield>rolcanlogin</> in
6941-
<link linkend="catalog-pg-authid">pg_authid</link>.
6948+
<link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.
69426949
</para>
69436950

69446951
<para>
@@ -7005,7 +7012,9 @@
70057012
<entry><structfield>passwd</structfield></entry>
70067013
<entry><type>text</type></entry>
70077014
<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>
70097018
</row>
70107019

70117020
<row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp