Marko Kreen <[email protected]> writes:
> And if you decide to do it, please make them all STRICT too,
> _except_ encrypt/decrypt functions. Thats an additional change
> I have in the air for pgcrypto.sql.in.
> As for the encrypt/decrypt functions, I am increasingly
> favouring throwing error in case of NULL arguments.
That doesn't seem like a good idea at all. Why shouldn't an encryptable
value be NULL? I think you should just make 'em strict.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend