Amazon Redshift 自 2025 年 11 月 1 日起不再支援建立新的 Python UDF。如果您想要使用 Python UDF,請在該日期之前建立 UDF。現有 Python UDF 將繼續正常運作。如需詳細資訊,請參閱部落格文章
SVV_ROLES
使用 SVV_ROLES 來檢視角色資訊。
所有使用者都可看見此資料表。
資料表欄
| 欄名稱 | 資料類型 | 說明 |
|---|---|---|
| role_id | integer | 規則 ID。 |
| role_name | text | 角色的名稱。 |
| role_owner | text | 角色擁有者的名稱。 |
| external_id | text | 第三方身分提供者中角色的唯一識別碼。 |
範例查詢
下列範例會傳回 SVV_ROLES 的輸出。
SELECT role_name,role_owner FROM svv_roles WHERE role_name IN ('role1', 'role2'); role_name | role_owner -----------+------------ role1 | superuser role2 | superuser