Force function to be created with SECURITY DEFINER when AUTHID in table ALL_PROCEDURES is set to DEFINER in Oracle. This only works with Oracle >= 10g. Thanks to Dominique Legendre for the feature request.