支援的版本:目前 (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.21. domain_constraints #

檢視表 domain_constraints 包含目前資料庫中定義的網域的所有約束。 只會顯示目前使用者有權存取的網域(透過身為擁有者或具有某些權限)。

表 35.19. domain_constraints 欄位

欄位 類型

描述

constraint_catalog sql_identifier

包含約束的資料庫名稱(永遠是目前的資料庫)

constraint_schema sql_identifier

包含約束的綱要名稱

constraint_name sql_identifier

約束的名稱

domain_catalog sql_identifier

包含網域的資料庫名稱(永遠是目前的資料庫)

domain_schema sql_identifier

包含網域的綱要名稱

domain_name sql_identifier

網域的名稱

is_deferrable yes_or_no

如果約束可延遲,則為 YES,否則為 NO

initially_deferred yes_or_no

如果約束可延遲且最初已延遲,則為 YES,否則為 NO


提交更正

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