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

Extended Functions

The following table lists the extended functions supported by GaussDB. These functions are for reference only.

Category

Name

Description

Access privilege inquiry function

has_sequence_privilege(user, sequence, privilege)

Queries whether a specified user has privilege for sequences.

has_sequence_privilege(sequence, privilege)

Queries whether the current user has privilege for sequence.

Trigger function

pg_get_triggerdef(oid)

Gets CREATE [ CONSTRAINT ] TRIGGER command for triggers.

pg_get_triggerdef(oid, boolean)

Gets CREATE [ CONSTRAINT ] TRIGGER command for triggers.