Updated on 2026-10-21 GMT+08:00

GS_DB_PRIVILEGE

GS_DB_PRIVILEGE records grant information for ANY permissions, with each entry representing a distinct grant.

Table 1 GS_DB_PRIVILEGE columns

Name

Type

Description

oid

OID

Row identifier (implicit attribute, which must be explicitly selected).

roleid

OID

User ID.

privilege_type

Text

ANY permissions of the user. For details about such permissions, see Table 1.

admin_option

Boolean

Specifies whether the ANY permissions recorded in the privilege_type column can be re-granted.

  • t: yes.
  • f: no.