Outdated This document is no longer maintained. Refer to the latest version.

DROP AUDIT POLICY

Function

DROP AUDIT POLICY deletes an audit policy.

Precautions

Only user poladmin, user sysadmin, or the initial user can perform this operation.

Syntax

DROP AUDIT POLICY [IF EXISTS] policy_name;

Parameter Description

policy_name

Specifies the audit policy name, which must be unique.

Value range: a string. It must comply with the naming convention.

Examples

See Examples in CREATE AUDIT POLICY.

Helpful Links

ALTER AUDIT POLICY and CREATE AUDIT POLICY

Feedback
    openGauss 2026-11-24 21:01:26
    cancel