[PATCH] Refactoring: rename md5Salt to pwsalt

From: Aleksander Alekseev <a(dot)alekseev(at)postgrespro(dot)ru>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Refactoring: rename md5Salt to pwsalt
Date: 2016-09-30 12:15:39
Message-ID: 20160930151539.769e8837@e754
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pwsalt-v1.patch text/x-patch 4.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2016-09-30 12:40:56 Re: [PATCH] Refactoring: rename md5Salt to pwsalt
Previous Message Craig Ringer 2016-09-30 12:03:32 Re: Learning to hack Postgres - Keeping track of ctids