| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] Refactoring: rename md5Salt to pwsalt |
| Дата | |
| Msg-id | 16236.1475239256@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | [PATCH] Refactoring: rename md5Salt to pwsalt (Aleksander Alekseev <a.alekseev@postgrespro.ru>) |
| Ответы |
Re: [PATCH] Refactoring: rename md5Salt to pwsalt
|
| Список | pgsql-hackers |
Aleksander Alekseev <a.alekseev@postgrespro.ru> writes:
> Suggested patch (first of many, I hope) renames `md5Salt` to more
> general `pwsalt`.
> Does it sound reasonable?
I'm dubious. The main problem with supposing that port->md5Salt
can serve other purposes is its fixed size. I think you're likely
going to have to change that representation at some point (eg
make it a separately-palloc'd field). My inclination would be to
do the field renaming at the same time you change the representation,
since that provides a convenient way to ensure you've caught every
place that has to change.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера