Extended Functions
The following table lists the extended functions supported by openGauss. 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. | 
openGauss 2025-10-31 07:42:18