~/talk

Untangling the Web of PostgreSQL Permissions

Talkat PostgreSQL Conference Europe 2024 · 2024-10-22..10-25· [databases, security]
links:none on file
slides:none on file

States that create user/group are aliases for create role and roles are cluster-wide not per-database, so use pg_dumpall -g to export them; shows psql metacommands (\ddp, \z, \dx) and suggests a recursive CTE to audit inherited grants; explains Postgres 15 change so post-15 public schema locked down and the tricky default-privileges behavior (defaults affect only the current role); warns that row-level security works but adds a measurable performance hit; recommends separation: use separate users for replication, monitoring, backups.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 4:26PostgreSQL permissions overview
  3. 10:04Roles vs users vs groups
  4. 13:15Role attributes and privileges
  5. 17:34Public schema permissions
  6. 23:14Permission inheritance explained
  7. 30:55Predefined roles in PostgreSQL
  8. 33:24Row-level security overview
  9. 38:42Best practices for permissions
  10. 43:19Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.