pgcrypto volatility and strictness changes

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: pgcrypto volatility and strictness changes
Date: 2005-07-05 14:19:50
Message-ID: 20050705141950.GA96658@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
pgcrypto.sql.in.patch text/plain 4.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-07-05 14:38:53 Re: patch: garbage error strings in libpq
Previous Message Michael Fuhr 2005-07-05 14:00:52 Re: Python setof patch