pub fn validate_routine_security_attributes( def: &CreateFunction, current_user_is_superuser: bool, ) -> Result<(), SQLError>