This patch updates the DDL for contrib/pgcrypto to create all
functions as STRICT, and all functions except gen_salt() as IMMUTABLE.
gen_salt() is VOLATILE.
Although the functions are now STRICT, I left their PG_ARGISNULL()
checks in place as a protective measure for users who install the
new code but use old (non-STRICT) catalog entries (e.g., restored
from a dump). Per recent discussion in pgsql-hackers.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
Michael Fuhr wrote:
> This patch updates the DDL for contrib/pgcrypto to create all
> functions as STRICT, and all functions except gen_salt() as IMMUTABLE.
> gen_salt() is VOLATILE.
Barring any objections, I'll apply this tomorrow.
-Neil
Michael Fuhr wrote:
> This patch updates the DDL for contrib/pgcrypto to create all
> functions as STRICT, and all functions except gen_salt() as IMMUTABLE.
> gen_salt() is VOLATILE.
Applied, thanks.
-Neil
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера