routines

The view information_schema.routines contains all functions and procedures in the database.
Note that MonetDB supports function and procedure overloading (same name but with different arguments). Use the specific_name instead of routine_name to distinguish them.

SELECT * FROM information_schema.routines;
SELECT routine_type, routine_schema, routine_name, specific_name, data_type as return_data_type
 FROM information_schema.routines WHERE NOT is_system;

information_schema.routines

column nametyperemarks
specific_catalogVARCHARAlways NULL
specific_schemaVARCHAR
specific_nameVARCHARCurrently consists of routine_name and function_id between ( and )
routine_catalogVARCHARAlways NULL
routine_schemaVARCHAR
routine_nameVARCHAR
routine_typeVARCHARFUNCTION or PROCEDURE or LOADER
module_catalogVARCHARAlways NULL
module_schemaVARCHARAlways NULL
module_nameVARCHAR
udt_catalogVARCHARAlways NULL
udt_schemaVARCHARAlways NULL
udt_nameVARCHARAlways NULL
data_typeVARCHAR
character_maximum_lengthINTEGER
character_octet_lengthBIGINT
character_set_catalogVARCHARAlways NULL
character_set_schemaVARCHARAlways NULL
character_set_nameCHAR
collation_catalogVARCHARAlways NULL
collation_schemaVARCHARAlways NULL
collation_nameVARCHARAlways NULL
numeric_precisionINTEGER
numeric_precision_radixINTEGER
numeric_scaleINTEGER
datetime_precisionINTEGER
interval_typeVARCHAR
interval_precisionINTEGER
type_udt_catalogVARCHARAlways NULL
type_udt_schemaVARCHARAlways NULL
type_udt_nameVARCHARAlways NULL
scope_catalogVARCHARAlways NULL
scope_schemaVARCHARAlways NULL
scope_nameVARCHARAlways NULL
maximum_cardinalityINTEGERAlways NULL
dtd_identifierINTEGERAlways NULL
routine_bodyVARCHAR
routine_definitionVARCHAR
external_nameVARCHAR
external_languageVARCHAR
parameter_styleCHARCurrently always GENERAL
is_deterministicCHARNO or YES
sql_data_accessVARCHARMODIFIES or READ
is_null_callVARCHARNO or YES or NULL
sql_pathVARCHARAlways NULL
schema_level_routineVARCHARAlways NULL
max_dynamic_result_setsINTEGERAlways NULL
is_user_defined_castVARCHARAlways NULL
is_implicitly_invocableVARCHARAlways NULL
security_typeVARCHARAlways NULL
to_sql_specific_catalogVARCHARAlways NULL
to_sql_specific_schemaVARCHARAlways NULL
to_sql_specific_nameVARCHARAlways NULL
as_locatorVARCHARAlways NULL
createdTIMESTAMPAlways NULL
last_alteredTIMESTAMPAlways NULL
new_savepoint_levelVARCHARAlways NULL
is_udt_dependentVARCHARAlways NULL
result_cast_from_data_typeVARCHARAlways NULL
result_cast_as_locatorVARCHARAlways NULL
result_cast_char_max_lengthINTEGERAlways NULL
result_cast_char_octet_lengthINTEGERAlways NULL
result_cast_char_set_catalogVARCHARAlways NULL
result_cast_char_set_schemaVARCHARAlways NULL
result_cast_character_set_nameVARCHARAlways NULL
result_cast_collation_catalogVARCHARAlways NULL
result_cast_collation_schemaVARCHARAlways NULL
result_cast_collation_nameVARCHARAlways NULL
result_cast_numeric_precisionINTEGERAlways NULL
result_cast_numeric_radixINTEGERAlways NULL
result_cast_numeric_scaleINTEGERAlways NULL
result_cast_datetime_precisionINTEGERAlways NULL
result_cast_interval_typeVARCHARAlways NULL
result_cast_interval_precisionINTEGERAlways NULL
result_cast_type_udt_catalogVARCHARAlways NULL
result_cast_type_udt_schemaVARCHARAlways NULL
result_cast_type_udt_nameVARCHARAlways NULL
result_cast_scope_catalogVARCHARAlways NULL
result_cast_scope_schemaVARCHARAlways NULL
result_cast_scope_nameVARCHARAlways NULL
result_cast_max_cardinalityINTEGERAlways NULL
result_cast_dtd_identifierVARCHARAlways NULL
declared_data_typeVARCHARAlways NULL
declared_numeric_precisionINTEGERAlways NULL
declared_numeric_scaleINTEGERAlways NULL
result_cast_from_declared_data_typeVARCHARAlways NULL
result_cast_declared_numeric_precisionINTEGERAlways NULL
result_cast_declared_numeric_scaleINTEGERAlways NULL
schema_idINTEGERreference to sys.schemas.id
function_idINTEGERreference to sys.functions.id
function_typeINTEGERreference to sys.function_types.function_type_id
function_languageINTEGERreference to sys.function_languages.language_id
is_systemBOOLEANtrue when it is a system function or procedure, else false
commentsVARCHAR

Note: The last 6 columns (schema_id, function_id, function_type, function_language, is_system and comments) are extensions to the view as defined by ISO standard. They provide useful information and simplify filtering and joins with system tables/views in sys schema when needed.