Updated on 2025-10-23 GMT+08:00

schema_privileges

The schema_privileges view displays permissions on schemas in GaussDB. This view is read-only. All users have the read permission on this view.

Table 1 information_schema.schema_privileges columns

Name

Type

Description

GRANTEE

varchar(81)

Name of the user or role to which the permission is granted.

TABLE_CATALOG

varchar(512)

Name of the catalog to which the object belongs.

TABLE_SCHEMA

varchar(64)

Schema name of the object.

PRIVILEGE_TYPE

varchar(64)

Permission granted.

IS_GRANTABLE

varchar(3)

Specifies whether to grant permissions. The options include:

  • yes
  • no