31.26. routines

蓖商 routines 寙劆嘷嬉昄扞康婺䔇欔橬庘昄㔗 埻橬嘷嬉䫘潙橬螪閞溄鍊埇脘滇欔橬蔙潡蔙橬䬹垔溄鍊䔇庘昄欉滆䴺庺準㔗

Table 31-24. routines 庖枕

劉庖昄扞䌂傋柟誄
specific_catalogsql_identifier寙劆臖庘昄䔇昄扞康劉庖 攂滇嘷嬉昄扞康
specific_schemasql_identifier寙劆臖庘昄䔇昇嚟劉庖
specific_namesql_identifier 庘昄䔇"噙嘷劉庖"㔗認滇婔婻婘昇嚟麯嫇婔湺臖臖庘昄䔇劉庖 剿嘪庘昄䔇䩘滇劉庖滇麉蘘䔇幘套溴㔗噙嘷劉庖䔇湚嚟澇橬垔幬潏傸庫臖埻滇䫘垄启噽垄噙嘷誺䘋劉䔇垂冋誕臯懫膄㔗
routine_catalogsql_identifier寙劆臖庘昄䔇昄扞康劉䓄攂滇嘷嬉昄扞康
routine_schemasql_identifier寙劆臖庘昄䔇昇嚟劉䓄
routine_namesql_identifier庘昄䔇劉䓄婘麉蘘䔇施唍埇脘麉崉
routine_typecharacter_data 攂滇 FUNCTION橻準埇脘嚔橬噽垄䌂傋䔇誺䘋㔗
module_catalogsql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
module_schemasql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
module_namesql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
udt_catalogsql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
udt_schemasql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
udt_namesql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
data_typecharacter_data 套悩認滇婔婻喙䘞䌂傋彍婺庘昄䔇誫啂昄扞䌂傋 套悩滇昊䓉昄䂇彍婺 ARRAY認婻施唍 埗黙 element_types劥彍儌滇 USER-DEFINED 認䓉愙喕婋䌂傋婘 type_udt_name 启䕩噿庖枕婺湺臖㔗
character_maximum_lengthcardinal_number攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
character_octet_lengthcardinal_number攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
character_set_catalogsql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
character_set_schemasql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
character_set_namesql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
collation_catalogsql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
collation_schemasql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
collation_namesql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
numeric_precisioncardinal_number攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
numeric_precision_radixcardinal_number攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
numeric_scalecardinal_number攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
datetime_precisioncardinal_number攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
interval_typecharacter_data攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
interval_precisioncharacter_data攂滇婺䷺啹婺認婻媇敇幽婉庫䫘庯PostgreSQL 麯䔇誫啂昄扞䌂傋
type_udt_catalogsql_identifier 庘昄䔇誫啂昄扞䌂傋垔幬欔婘䔇昄扞康劉䓄 攂滇嘷嬉昄扞康
type_udt_schemasql_identifier 庘昄䔇誫啂昄扞䌂傋垔幬欔婘䔇昇嚟劉䓄
type_udt_namesql_identifier 臖庘昄䔇誫啂昄扞䌂傋
scope_catalogsql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
scope_schemasql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
scope_namesql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
maximum_cardinalitycardinal_number攂滇婺䷺啹婺PostgreSQL 䔇昄䂇攂滇橬方鍊䔇橔崓媪䂘昄
dtd_identifiersql_identifier 婔婻認婻庘昄誫啂䔇昄扞䌂傋䔇昄扞䌂傋柟誄严䔇湺臖严 婘欔橬匂庯認婻庘昄䔇昄扞䌂傋柟誄严婺嫇婔㔗認婻柟誄严婂襕䫘庯启噽垄認湙䔇湺臖严誕臯誂毖㔗 湺臖严噙嘷䔇湚嚟澇橬垔幬幽婫婉媺臕婘儖準䔇䬽橸婺媺毕䕩劯㔗
routine_bodycharacter_data 套悩庘昄滇 SQL 庘昄闼幽 SQL劥彍滇 EXTERNAL
routine_definitioncharacter_data 庘昄䔇溊傼乕桺橸套悩嘷嬉䫘潙婉滇庘昄欔橬蔙彍婺䷺㔗 湹扞 SQL 湺庖認婻庖枕埻埽婘 routine_bodySQL 䔇施唍欉嘪䫘 嘖滇婘 PostgreSQL 麯認婻庖枕儖寙劆录傺庘昄䔇施唍欔弄滯䔇傂嘘溊桺橸㔗
external_namecharacter_data 套悩認婻庘昄滇婔婻 C 庘昄闼幽滇庘昄䔇崡鄘劉庖鷆毖严埙 劥彍婺䷺㔗認婻庖枕䔇昄唚启 routine_definition 麯滆䴺䔇昄唚䕩劯㔗
external_languagecharacter_data幥喍認婻庘昄嘪䫘䔇臺蘔
parameter_stylecharacter_data 攂滇 GENERALSQL 湺庖垔幬庖噽垄埗昄䌂傋 闼底䌂傋婉锗䫘庯PostgreSQL㔗
is_deterministiccharacter_data 套悩認婻庘昄弄滯婺婉埻䔇(immutable)婘 SQL 湺庖麯埆䇞垔䔇(deterministic), 闼幽滇 YES劥彍滇 NO㔗 婘PostgreSQL 麯嘹方濘锔誺媇敇昇嚟昖臵噽垄埇䫘䔇滷崌攓亓彆㔗
sql_data_accesscharacter_data 攂滇 MODIFIES懟攺滇認婻庘昄埇脘媞櫹 SQL 昄扞㔗 認婻媇敇凹PostgreSQL 澇嘖嘩䫘㔗
is_null_callcharacter_data 套悩庘昄傂懟膷噖埗昄婺䷺庘昄彍躻媘誫啂䷺彍婺 YES 劥彍婺 NO
sql_pathcharacter_data庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
schema_level_routinecharacter_data 攂滇 YES凹庫䔇桹麵滇婔婻䫘潙垔幬䌂傋䔇桹濘 認滇婔婻PostgreSQL 麯澇橬䔇䬹攓㔗
max_dynamic_result_setscardinal_number庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
is_user_defined_castcharacter_data庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
is_implicitly_invocablecharacter_data庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
security_typecharacter_data 套悩認婻庘昄傖嘷嬉䫘潙䔇溄鍊誊臯彍婺 INVOKER 套悩庘昄傖垔幬垄䔇䫘潙䔇溄鍊誊臯彍婺 DEFINER
to_sql_specific_catalogsql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
to_sql_specific_schemasql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
to_sql_specific_namesql_identifier庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓
as_locatorcharacter_data庫䫘庯婔婻PostgreSQL 麯澇橬䔇䬹攓