Representing Databases (cont)
pg_database contains information about databases:
-
oid, datname, datdba, datacl[], encoding, ...
pg_namespace contains information about schemata:
-
oid, nspname, nspowner, nspacl[]
pg_tablespace contains information about tablespaces:
-
oid, spcname, spcowner, spcacl[]
PostgreSQL represents access via array of access items:
where Privileges is a string enumerating privileges, e.g.
jas=arwdRxt/jas,fred=r/jas,joe=rwad/jas
|
|