Обсуждение: pgsql: Clean up md5.c to make it clearer that it is a

Поиск
Список
Период
Сортировка

pgsql: Clean up md5.c to make it clearer that it is a

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Clean up md5.c to make it clearer that it is a frontend-and-backend
module.  Don't rely on backend palloc semantics; in fact, best to not
use palloc at all, rather than #define'ing it to malloc, because that
just encourages errors of omission.  Bug spotted by Volkan YAZICI,
but I went further than he did to fix it.

Modified Files:
--------------
    pgsql/src/backend/libpq:
        md5.c (r1.30 -> r1.31)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/md5.c.diff?r1=1.30&r2=1.31)