January 2019
Beginner
556 pages
14h 19m
English
PostgreSQL has different security levels defined on PostgreSQL objects, including tablespace, database, schema, table, foreign data wrapper, sequence, domain, language, and large object. You can have a peek into different privileges by running the \h meta command in psql, as follows:
Command: GRANTDescription: define access privilegesSyntax:GRANT { { SELECT | INSERT | UPDATE | DELETE | TRUNCATE | REFERENCES | TRIGGER } [, ...] | ALL [ PRIVILEGES ] } ON { [ TABLE ] table_name [, ...] | ALL TABLES IN SCHEMA schema_name [, ...] } TO role_specification [, ...] [ WITH GRANT OPTION ]
In the next section, we will address several security levels including database, entities (tables, views, and sequences), columns and rows. ...
Read now
Unlock full access