]> granicus.if.org Git - postgresql/commit
This patch updates the DDL for contrib/pgcrypto to create all
authorNeil Conway <neilc@samurai.com>
Fri, 8 Jul 2005 04:27:49 +0000 (04:27 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 8 Jul 2005 04:27:49 +0000 (04:27 +0000)
commit86897f54a87fc2bf699234443d82960d6c7b87a6
tree7ac01dbe18a0f612cc21bce80a52258fb8809231
parent40ffa1a14c3623e960af08ac57de404b1dc8ff5c
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.

Patch from Michael Fuhr.
contrib/pgcrypto/pgcrypto.sql.in