Re: Re: Proposal for encrypting pg_shadow passwords

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Proposal for encrypting pg_shadow passwords
Дата
Msg-id 688.997913214@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Proposal for encrypting pg_shadow passwords  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Re: Proposal for encrypting pg_shadow passwords
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Also, I didn't use palloc because the same C code is used in the backend
> and libpq.

"#define palloc(x) malloc(x)" has been our traditional solution to that.

What I'm more concerned about here is the blithe assumption that a
64-bit-int datatype is available.  I'm going through major pushups right
now to ensure that int8 sequences don't break machines without 64-bit
ints, and I'd like to see at least some minimal attention paid to the
issue in this code.

BTW, a protocol version bump for this is a horrid idea.  That will
create lots of compatibility problems for people, whether they use
the new auth mode or not.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Proposal for encrypting pg_shadow passwords
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: Proposal for encrypting pg_shadow passwords