Re: contrib/pgcrypto functions not IMMUTABLE?

From: Neil Conway <neilc(at)samurai(dot)com>
To: Marko Kreen <marko(at)l-t(dot)ee>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, Russell Smith <mr-russ(at)pws(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: contrib/pgcrypto functions not IMMUTABLE?
Date: 2005-07-04 01:42:14
Message-ID: 42C893F6.7010303@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Fuhr 2005-07-04 02:27:24 Re: contrib/pgcrypto functions not IMMUTABLE?
Previous Message Bruce Momjian 2005-07-04 01:38:04 Re: bug in ALTER TABLE / TYPE