支援的版本:目前版本 (17) / 16 / 15 / 14 / 13
開發版本:devel
不支援的版本:12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4

35.33. parameters #

視窗 parameters 包含目前資料庫中所有函數的參數(引數)資訊。只會顯示目前使用者有權存取的函數(透過成為擁有者或擁有某些權限)。

表 35.31. parameters 欄位

欄位 類型

描述

specific_catalog sql_identifier

包含函數的資料庫名稱(永遠是目前的資料庫)

specific_schema sql_identifier

包含函數的綱要名稱

specific_name sql_identifier

函數的特定名稱。有關更多資訊,請參閱第 35.45 節

ordinal_position cardinal_number

參數在函數引數列表中的序數位置(計數從 1 開始)

parameter_mode character_data

輸入參數為 IN,輸出參數為 OUT,輸入/輸出參數為 INOUT

is_result yes_or_no

適用於 PostgreSQL 中不可用的功能

as_locator yes_or_no

適用於 PostgreSQL 中不可用的功能

parameter_name sql_identifier

參數名稱,如果參數沒有名稱,則為 null

data_type character_data

參數的資料類型,如果是內建類型,則為 ARRAY(在這種情況下,請參閱視窗 element_types),否則為 USER-DEFINED(在這種情況下,該類型在 udt_name 和相關欄位中識別)。

character_maximum_length cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

character_octet_length cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

character_set_catalog sql_identifier

適用於 PostgreSQL 中不可用的功能

character_set_schema sql_identifier

適用於 PostgreSQL 中不可用的功能

character_set_name sql_identifier

適用於 PostgreSQL 中不可用的功能

collation_catalog sql_identifier

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

collation_schema sql_identifier

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

collation_name sql_identifier

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

numeric_precision cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

numeric_precision_radix cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

numeric_scale cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

datetime_precision cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

interval_type character_data

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

interval_precision cardinal_number

永遠為 null,因為此資訊不適用於 PostgreSQL 中的參數資料類型

udt_catalog sql_identifier

定義參數資料類型的資料庫名稱(永遠是目前的資料庫)

udt_schema sql_identifier

定義參數資料類型的綱要名稱

udt_name sql_identifier

參數的資料類型名稱

scope_catalog sql_identifier

適用於 PostgreSQL 中不可用的功能

scope_schema sql_identifier

適用於 PostgreSQL 中不可用的功能

scope_name sql_identifier

適用於 PostgreSQL 中不可用的功能

maximum_cardinality cardinal_number

永遠為 null,因為陣列在 PostgreSQL 中始終具有無限的最大基數

dtd_identifier sql_identifier

參數資料類型描述符的識別符,在屬於該函數的資料類型描述符中是唯一的。這主要用於與此類識別符的其他實例連接。(識別符的具體格式未定義,也不保證在將來版本中保持不變。)

parameter_default character_data

參數的預設表達式,如果沒有或該函數不屬於目前啟用的角色,則為 null。


提交更正

如果您在文件中發現任何不正確、與特定功能不符或需要進一步澄清的地方,請使用此表單來報告文件問題。