From 470b5f2c369670af0c130194ffa47f7210b2e7c9 Mon Sep 17 00:00:00 2001 From: Gurjeet Singh Date: Mon, 9 Oct 2023 21:38:06 -0700 Subject: [PATCH v5 6/9] Updated pg_authid catalog documentation --- doc/src/sgml/catalogs.sgml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 096ddab481..aae349fb15 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1605,12 +1605,39 @@ null if no expiration + + + + rolsecondpassword text + + + Second password (possibly encrypted); null if none. The format depends + on the form of encryption used. + + + + + + rolsecondvaliduntil timestamptz + + + Second password's expiry time (only used for password authentication); + null if no expiration + + + + + rolpassword and rolsecondpassword + store either the unencrypted password, MD5 encrypted password, or + SCRAM-SHA-256 encrypted password. + + - For an MD5 encrypted password, rolpassword + For an MD5 encrypted password, the column will begin with the string md5 followed by a 32-character hexadecimal MD5 hash. The MD5 hash will be of the user's password concatenated to their user name. For example, if user -- 2.25.1