Amazon Redshift will no longer support the use of Python UDFs after June 30, 2026.
We will start enforcing it in phases. For more information on the details of Python end of life
and migration options, see the
blog post
SVV_SYSTEM_PRIVILEGES
SVV_SYSTEM_PRIVILEGES is visible to the following users:
Superusers
Users with the ACCESS SYSTEM TABLE permission
Other users can only see identities they have access to or own.
For more information about best practices when querying system tables and views, see Querying System Tables.
Note
Use the SHOW GRANTS command for permission discovery. SHOW GRANTS works consistently across local, datashare, and external catalog contexts and is updated as new features are released. For more information, see Best practices for discovering metadata.
Table columns
| Column name | Data type | Description |
|---|---|---|
| system_privilege | text | The name of the system permission. |
| identity_id | integer | The ID of the identity. Possible values are user ID or role ID. |
| identity_name | text | The name of the identity. |
| identity_type | text | The type of the identity. Possible values are user or role. |
Sample query
The following example displays the result for the specified parameters.
SELECT system_privilege,identity_name,identity_type FROM svv_system_privileges WHERE system_privilege = 'ALTER TABLE' AND identity_name = 'sys:superuser'; system_privilege | identity_name | identity_type ------------------+---------------+--------------- ALTER TABLE | sys:superuser | role