Re: Conflicting declarations for b64_encode etc. on Solaris 11.4 Beta

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Conflicting declarations for b64_encode etc. on Solaris 11.4 Beta
Дата
Msg-id 20180301005510.GB1178@paquier.xyz
обсуждение исходный текст
Ответ на Re: Conflicting declarations for b64_encode etc. on Solaris 11.4 Beta  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Wed, Feb 28, 2018 at 06:37:27PM -0500, Tom Lane wrote:
> And on top of that, there's src/common/base64.c with again almost the
> same functionality.  But refactoring to fix that would be a bit invasive
> and not something to back-patch.  I think what you did here is appropriate
> as a minimal portability fix.  Maybe later somebody will look into
> removing the duplication, as a HEAD-only improvement.

Thanks for pushing the patch.

base64.c ignores some whitespace handling, which is in line with what
the RFCs of SCRAM expect when doing conversion of the data exchanged in
the protocol so that's a bit more different than the other
implementations.  Maybe that's worth refactoring, still I am not
completely convinced that we have much to gain from such a move either.
--
Michael

Вложения

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

Предыдущее
От: Euler Taveira
Дата:
Сообщение: Re: BUG #15067: Documentation or behaviour bug with autovacuum thresholds?
Следующее
От: Praveen Kumar
Дата:
Сообщение: Re: How to avoid trailing zero (after decimal point) for numeric type column