DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

31.19. parameters

The view parameters contains information about the parameters (arguments) of all functions in the current database. Only those functions are shown that the current user has access to (by way of being the owner or having some privilege).

Table 31-17. parameters Columns

NameData TypeDescription
specific_catalogsql_identifierName of the database containing the function (always the current database)
specific_schemasql_identifierName of the schema containing the function
specific_namesql_identifier The "specific name" of the function. See Section 31.26 for more information.
ordinal_positioncardinal_number Ordinal position of the parameter in the argument list of the function (count starts at 1)
parameter_modecharacter_data Always IN, meaning input parameter (in the future there might be other parameter modes)
is_resultcharacter_dataApplies to a feature not available in PostgreSQL
as_locatorcharacter_dataApplies to a feature not available in PostgreSQL
parameter_namesql_identifierName of the parameter, or null if the parameter has no name
data_typecharacter_data Data type of the parameter, if it is a built-in type, or ARRAY if it is some array (in that case, see the view element_types), else USER-DEFINED (in that case, the type is identified in udt_name and associated columns).
character_maximum_lengthcardinal_numberAlways null, since this information is not applied to parameter data types in PostgreSQL
character_octet_lengthcardinal_numberAlways null, since this information is not applied to parameter data types in PostgreSQL
character_set_catalogsql_identifierApplies to a feature not available in PostgreSQL
character_set_schemasql_identifierApplies to a feature not available in PostgreSQL
character_set_namesql_identifierApplies to a feature not available in PostgreSQL
collation_catalogsql_identifierApplies to a feature not available in PostgreSQL
collation_schemasql_identifierApplies to a feature not available in PostgreSQL
collation_namesql_identifierApplies to a feature not available in PostgreSQL
numeric_precisioncardinal_numberAlways null, since this information is not applied to parameter data types in PostgreSQL
numeric_precision_radixcardinal_numberAlways null, since this information is not applied to parameter data types in PostgreSQL
numeric_scalecardinal_numberAlways null, since this information is not applied to parameter data types in PostgreSQL
datetime_precisioncardinal_numberAlways null, since this information is not applied to parameter data types in PostgreSQL
interval_typecharacter_dataAlways null, since this information is not applied to parameter data types in PostgreSQL
interval_precisioncharacter_dataAlways null, since this information is not applied to parameter data types in PostgreSQL
udt_catalogsql_identifier Name of the database that the data type of the parameter is defined in (always the current database)
udt_schemasql_identifier Name of the schema that the data type of the parameter is defined in
udt_namesql_identifier Name of the data type of the parameter
scope_catalogsql_identifierApplies to a feature not available in PostgreSQL
scope_schemasql_identifierApplies to a feature not available in PostgreSQL
scope_namesql_identifierApplies to a feature not available in PostgreSQL
maximum_cardinalitycardinal_numberAlways null, because arrays always have unlimited maximum cardinality in PostgreSQL
dtd_identifiersql_identifier An identifier of the data type descriptor of the parameter, 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.)