35.45. routines
routines
The view routines contains all functions and procedures in the current database.
Only those functions and procedures are shown that the current user has access to (by way of being the owner or having some privilege).
Column Type Description |
|---|
specific_catalog Name of the database containing the function (always the current database) |
specific_schema Name of the schema containing the function |
specific_name The "specific name" of the function. This is a name that uniquely identifies the function in the schema, even if the real name of the function is overloaded. The format of the specific name is not defined, it should only be used to compare it to other instances of specific routine names. |
routine_catalog Name of the database containing the function (always the current database) |
routine_schema Name of the schema containing the function |
routine_name Name of the function (might be duplicated in case of overloading) |
routine_type
|
module_catalog Applies to a feature not available in PostgreSQL |
module_schema Applies to a feature not available in PostgreSQL |
module_name Applies to a feature not available in PostgreSQL |
udt_catalog Applies to a feature not available in PostgreSQL |
udt_schema Applies to a feature not available in PostgreSQL |
udt_name Applies to a feature not available in PostgreSQL |
data_type Return data type of the function, if it is a built-in type, or |
character_maximum_length Always null, since this information is not applied to return data types in PostgreSQL |
character_octet_length Always null, since this information is not applied to return data types in PostgreSQL |
character_set_catalog Applies to a feature not available in PostgreSQL |
character_set_schema Applies to a feature not available in PostgreSQL |
character_set_name Applies to a feature not available in PostgreSQL |
collation_catalog Always null, since this information is not applied to return data types in PostgreSQL |
collation_schema Always null, since this information is not applied to return data types in PostgreSQL |
collation_name Always null, since this information is not applied to return data types in PostgreSQL |
numeric_precision Always null, since this information is not applied to return data types in PostgreSQL |
numeric_precision_radix Always null, since this information is not applied to return data types in PostgreSQL |
numeric_scale Always null, since this information is not applied to return data types in PostgreSQL |
datetime_precision Always null, since this information is not applied to return data types in PostgreSQL |
interval_type Always null, since this information is not applied to return data types in PostgreSQL |
interval_precision Always null, since this information is not applied to return data types in PostgreSQL |
type_udt_catalog Name of the database that the return data type of the function is defined in (always the current database). Null for a procedure. |
type_udt_schema Name of the schema that the return data type of the function is defined in. Null for a procedure. |
type_udt_name Name of the return data type of the function. Null for a procedure. |
scope_catalog Applies to a feature not available in PostgreSQL |
scope_schema Applies to a feature not available in PostgreSQL |
scope_name Applies to a feature not available in PostgreSQL |
maximum_cardinality Always null, because arrays always have unlimited maximum cardinality in PostgreSQL |
dtd_identifier An identifier of the data type descriptor of the return data type of this function, unique among the data type descriptors pertaining to the function. This is mainly useful for joining with other instances of such identifiers. (The specific format of the identifier is not defined and not guaranteed to remain the same in future versions.) |
routine_body If the function is an SQL function, then |
routine_definition The source text of the function (null if the function is not owned by a currently enabled role). (According to the SQL standard, this column is only applicable if |
external_name If this function is a C function, then the external name (link symbol) of the function; else null. (This works out to be the same value that is shown in |
external_language The language the function is written in |
parameter_style Always |
is_deterministic If the function is declared immutable (called deterministic in the SQL standard), then |
sql_data_access Always |
is_null_call If the function automatically returns null if any of its arguments are null, then |
sql_path Applies to a feature not available in PostgreSQL |
schema_level_routine Always |
max_dynamic_result_sets Applies to a feature not available in PostgreSQL |
is_user_defined_cast Applies to a feature not available in PostgreSQL |
is_implicitly_invocable Applies to a feature not available in PostgreSQL |
security_type If the function runs with the privileges of the current user, then |
to_sql_specific_catalog Applies to a feature not available in PostgreSQL |
to_sql_specific_schema Applies to a feature not available in PostgreSQL |
to_sql_specific_name Applies to a feature not available in PostgreSQL |
as_locator Applies to a feature not available in PostgreSQL |
created Applies to a feature not available in PostgreSQL |
last_altered Applies to a feature not available in PostgreSQL |
new_savepoint_level Applies to a feature not available in PostgreSQL |
is_udt_dependent Currently always |
result_cast_from_data_type Applies to a feature not available in PostgreSQL |
result_cast_as_locator Applies to a feature not available in PostgreSQL |
result_cast_char_max_length Applies to a feature not available in PostgreSQL |
result_cast_char_octet_length Applies to a feature not available in PostgreSQL |
result_cast_char_set_catalog Applies to a feature not available in PostgreSQL |
result_cast_char_set_schema Applies to a feature not available in PostgreSQL |
result_cast_char_set_name Applies to a feature not available in PostgreSQL |
result_cast_collation_catalog Applies to a feature not available in PostgreSQL |
result_cast_collation_schema Applies to a feature not available in PostgreSQL |
result_cast_collation_name Applies to a feature not available in PostgreSQL |
result_cast_numeric_precision Applies to a feature not available in PostgreSQL |
result_cast_numeric_precision_radix Applies to a feature not available in PostgreSQL |
result_cast_numeric_scale Applies to a feature not available in PostgreSQL |
result_cast_datetime_precision Applies to a feature not available in PostgreSQL |
result_cast_interval_type Applies to a feature not available in PostgreSQL |
result_cast_interval_precision Applies to a feature not available in PostgreSQL |
result_cast_type_udt_catalog Applies to a feature not available in PostgreSQL |
result_cast_type_udt_schema Applies to a feature not available in PostgreSQL |
result_cast_type_udt_name Applies to a feature not available in PostgreSQL |
result_cast_scope_catalog Applies to a feature not available in PostgreSQL |
result_cast_scope_schema Applies to a feature not available in PostgreSQL |
result_cast_scope_name Applies to a feature not available in PostgreSQL |
result_cast_maximum_cardinality Applies to a feature not available in PostgreSQL |
result_cast_dtd_identifier Applies to a feature not available in PostgreSQL |
: routines Columns