Re: Renaming more clearly SHA functions in pgcrypto/
От
Alvaro Herrera
Тема
Re: Renaming more clearly SHA functions in pgcrypto/
Дата
Msg-id
20160704170916.GA426299@alvherre.pgsql
Ответ на
Renaming more clearly SHA functions in pgcrypto/ (Michael Paquier)
Список
Дерево обсуждения
Renaming more clearly SHA functions in pgcrypto/ Michael Paquier <michael.paquier@gmail.com>
Re: Renaming more clearly SHA functions in pgcrypto/ Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Renaming more clearly SHA functions in pgcrypto/ Michael Paquier <michael.paquier@gmail.com>
Michael Paquier wrote: > Hi all, > (folks interested in that in CC) > > While looking at some facility in pgcrypto, I have noticed the stanza > created by 56f4478 to prevent conflicts with OpenSSL, like that: > +#define SHA256_Init pg_SHA256_Init > +#define SHA256_Update pg_SHA256_Update > > Wouldn't it be better to avoid that, and just rename all those > functions as pg_shaXX_foo? Sure. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления
От: Andrew Borodin
Дата:
От: Alvaro Herrera
Дата: