Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 00dd340

Browse files
committed
Improve docs for pg_authid encryption description with better markup and
a mention of unencrypted passwords.
1 parent 2dbed56 commit 00dd340

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/src/sgml/catalogs.sgml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,12 +1264,14 @@
12641264
<entry><structfield>rolpassword</structfield></entry>
12651265
<entry><type>text</type></entry>
12661266
<entry>
1267-
Password (possibly encrypted); null if none. If the password is
1268-
encrypted, this column will contain the string <literal>md5</> followed by a
1269-
32-character hexadecimal MD5 hash. The MD5 hash will be of the
1270-
user's password concatenated to their username (for example, if
1271-
user joe has password xyzzy, <productname>PostgreSQL</> will store
1272-
the md5 hash of xyzzyjoe).
1267+
Password (possibly encrypted); null if none. If the password
1268+
is encrypted, this column will begin with the string <literal>md5</>
1269+
followed by a 32-character hexadecimal MD5 hash. The MD5 hash
1270+
will be of the user's password concatenated to their username.
1271+
For example, if user <literal>joe</> has password <literal>xyzzy</>,
1272+
<productname>PostgreSQL</> will store the md5 hash of
1273+
<literal>xyzzyjoe</>. A password that does not follow that
1274+
format is assumed to be unencrypted.
12731275
</entry>
12741276
</row>
12751277

0 commit comments

Comments
 (0)