Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast
Дата
Msg-id X9GToVd3QmWeNvj8@paquier.xyz
обсуждение исходный текст
Ответ на pgsql: Refactor MD5 implementations according to new cryptohash infrast  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pgsql: Refactor MD5 implementations according to new cryptohash infrast
Список pgsql-committers
On Thu, Dec 10, 2020 at 03:01:20AM +0000, Michael Paquier wrote:
> Refactor MD5 implementations according to new cryptohash infrastructure
>
> This commit heavily reorganizes the MD5 implementations that exist in
> the tree in various aspects.
>
> First, MD5 is added to the list of options available in cryptohash.c and
> cryptohash_openssl.c.  This means that if building with OpenSSL, EVP is
> used for MD5 instead of the fallback implementation that Postgres had
> for ages.  With the recent refactoring work for cryptohash functions,
> this change is straight-forward.  If not building with OpenSSL, a
> fallback implementation internal to src/common/ is used.

And this has broken uuid-ossp.  The switch is quite easy to do as this
module just needs to use cryptohash APIs for MD5.  Will fix in a
minute..
--
Michael

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Support subscripting of arbitrary types, not only arrays.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix compilation of uuid-ossp