[HACKERS] Removal of plaintext password type references - Mailing list pgsql-hackers

From Vaishnavi Prabakaran
Subject [HACKERS] Removal of plaintext password type references
Date
Msg-id CAOoUkxTZx1Yxox79B4TJGsG6VvLizEdp2vOO-x_jYmepyiCFzw@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] Removal of plaintext password type references
List pgsql-hackers
Hi All,

Following recent removal of support to store password in plain text, modified the code to 

1. Remove  "PASSWORD_TYPE_PLAINTEXT" macro
2. Instead of using "get_password_type" to retrieve the encryption method AND to check if the password is already encrypted or not, modified the code to 
a. Use "get_password_encryption_type" function to retrieve encryption method. 
b. Use "isPasswordEncrypted" function to check if the password is already encrypted or not. 

These changes are mainly to increase code readability and does not change underlying functionality.

Attached the patch for community's review.


Thanks & Regards,
Vaishnavi,
Fujitsu Australia.
Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] MSVC odd TAP test problem
Next
From: xu jian
Date:
Subject: [HACKERS] how to shrink pg_attribute table?