has_database_privilege ( [ user name or oid, ] database text or oid, privilege text ) → booleanDoes user have privilege for database? Allowable privilege types are
CREATE, CONNECT, TEMPORARY, and TEMP (which is equivalent to TEMPORARY).Functions / System Information Functions And Operators
Does user have privilege for database? Allowable privilege types are CREATE, CONNECT, TEMPORARY, and TEMP (which is equivalent to TEMPORARY).
Reading PG 18current·documented in 25 of 27 versions, 7.3 to 20
has_database_privilege ( [ user name or oid, ] database text or oid, privilege text ) → booleanDoes user have privilege for database? Allowable privilege types are
CREATE, CONNECT, TEMPORARY, and TEMP (which is equivalent to TEMPORARY).Definition snapshot: b7bd9cda · English manual source