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

GS_AUDITING_POLICY

GS_AUDITING_POLICY records main information for each unified audit policy. Each record corresponds to an audit policy. By default, only users with the SYSADMIN or POLADMIN permission can access it. Common users can access it only after being authorized.

Table 1 GS_AUDITING_POLICY columns

Name

Type

Description

oid

OID

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

polname

Name

Policy name, which must be unique.

polcomments

Name

Policy description, which is represented by the COMMENTS keyword.

modifydate

Timestamp without time zone

Timestamp when the policy was created or last modified.

polenabled

Boolean

Specifies whether the policy is enabled.

  • t (true): The policy is enabled.
  • f (false): The policy is disabled.