[PATCH] Refactoring: rename md5Salt to pwsalt - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject [PATCH] Refactoring: rename md5Salt to pwsalt
Date
Msg-id 20160930151539.769e8837@e754
Whole thread Raw
Responses Re: [PATCH] Refactoring: rename md5Salt to pwsalt
List pgsql-hackers
Hello.

Since there are plans/efforts to introduce additional authorization
methods in nearest feature I suggest to refactor the code so it
wouldn't mention md5 when it possible. `md5Salt` for instance could be
not only "md5 salt" but also "sha2 salt", etc - depending on what
authorization method was chosen.

Suggested patch (first of many, I hope) renames `md5Salt` to more
general `pwsalt`.

Does it sound reasonable?

--
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Learning to hack Postgres - Keeping track of ctids
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Refactoring: rename md5Salt to pwsalt