↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / System Information Functions And Operators

has_sequence_privilege

Read the PG 18 manual

Does user have privilege for sequence? Allowable privilege types are USAGE, SELECT, and UPDATE.

Reading PG 18current·documented in 18 of 27 versions, 9.0 to 20

Signatures & examples

has_sequence_privilege ( [ user name or oid, ] sequence text or oid, privilege text ) → boolean
Does user have privilege for sequence? Allowable privilege types are USAGE, SELECT, and UPDATE.
Version history 2
  1. 12 → 13 changed
  2. 8.4 → 9.0 added

Definition snapshot: b7bd9cda · English manual source