Re: contrib/pgcrypto functions not IMMUTABLE? - Mailing list pgsql-hackers

From Neil Conway
Subject Re: contrib/pgcrypto functions not IMMUTABLE?
Date
Msg-id 42C893F6.7010303@samurai.com
Whole thread Raw
In response to Re: contrib/pgcrypto functions not IMMUTABLE?  (Marko Kreen <marko@l-t.ee>)
Responses Re: contrib/pgcrypto functions not IMMUTABLE?
List pgsql-hackers
Marko Kreen wrote:
> On Sun, Jul 03, 2005 at 07:54:47AM -0600, Michael Fuhr wrote:
>>In the functions marked STRICT, should I leave the PG_ARGISNULL()
>>checks in place as a precaution?  Removing those checks could cause
>>problems if people use the new code but have old (non-STRICT) catalog
>>entries.
> 
> Good point.  Let them be.

Assuming the STRICT / IMMUTABLE changes are only going into HEAD, you 
can safely remove the PG_ARGISNULL() checks -- people upgrading from a 
prior version of Postgres (and therefore pgcrypto) will need to dump and 
reload anyway.

-Neil


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: bug in ALTER TABLE / TYPE
Next
From: Michael Fuhr
Date:
Subject: Re: contrib/pgcrypto functions not IMMUTABLE?