pgcrypto volatility and strictness changes - Mailing list pgsql-patches

From Michael Fuhr
Subject pgcrypto volatility and strictness changes
Date
Msg-id 20050705141950.GA96658@winnie.fuhr.org
Whole thread Raw
Responses Re: pgcrypto volatility and strictness changes
Re: pgcrypto volatility and strictness changes
List pgsql-patches
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/

Attachment

pgsql-patches by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Python setof patch
Next
From: Tom Lane
Date:
Subject: Re: patch: garbage error strings in libpq