Weslee Bilodeau <[EMAIL PROTECTED]> writes: > On the input and output functions for the new type, I lookup the > encrypt/decrypt functions using - > FuncnameGetCandidates( list_make1( makeString( "decrypt" ) ) > Running through the list and getting the functions OID, then calling > with OidFunctionCall3().
Yech. That sounds trivially crashable, just define decrypt() to do something other than what your code is expecting.... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org