↑↓ 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_tablespace_privilege

Read the PG 18 manual

Does user have privilege for tablespace? The only allowable privilege type is CREATE.

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

Signatures & examples

has_tablespace_privilege ( [ user name or oid, ] tablespace text or oid, privilege text ) → boolean
Does user have privilege for tablespace? The only allowable privilege type is CREATE.
Version history 2
  1. 12 → 13 changed
  2. 7.4 → 8.0 added

Definition snapshot: b7bd9cda · English manual source