For Your Eyes Only: Roles, Privileges, and Security in PostgreSQL | Citus Con 2023

Video of a conference talk and demo about defining the Principle of Least Privileges and how this philosophy influences roles and privileges in PostgreSQL—delivered at Citus Con: An Event for Postgres 2023. In this talk, Ryan Booz covers the importance of object ownership in PostgreSQL, how group and user roles can work in unison to effectively manage permissions, multiple ways to manage default privileges, and which privileges should always be modified in any new PostgreSQL database. Ryan also covers how recent Postgres releases are laying a foundation for more flexible and robust security management in the years ahead. Ryan Booz is an Advocate at Redgate focusing on PostgreSQL. Ryan has been working as a PostgreSQL advocate, developer, DBA, and product manager for more than 20 years, primarily working with time-series data on PostgreSQL and the Microsoft Data Platform. Ryan is a long-time DBA, starting with MySQL and Postgres databases in the late 90s. He spent more than 15 years working with SQL Server before returning to PostgreSQL full-time in 2018. ► Video bookmarks: ⏩ 00:00 Introduction ⏩ 02:10 Building Blocks of Postgres Roles ⏩ 06:06 Roles within Postgres ⏩ 09:22 Special Roles within Postgres ⏩ 13:56 Privileges: Rights to databases & database objects ⏩ 16:28 Inheritance & how to utilize it ⏩ 18:07 Principle of Least Privilege ⏩ 21:57 Demo of Roles & Privileges in Postgres ✅ Learn more: Watch more Citus Con 2023 talks: https://aka.ms/cituscon-playlist 📕 Everything you need to know about Citus Con: An Event for Postgres can be found at: https://aka.ms/cituscon 📌 Let’s connect:   Twitter – @CitusCon,   / cituscon   More resources: 📣 Slides for Ryan’s talk: https://bit.ly/postgres-your-eyes-only #CitusCon #PostgreSQL #Security

How to copy a Postgres database? | Citus Con: An Event for Postgres 2023
▶︎

How to copy a Postgres database? | Citus Con: An Event for Postgres 2023

Everything you need to know about Postgres Row Level Security | POSETTE 2024
▶︎

Everything you need to know about Postgres Row Level Security | POSETTE 2024

For Your Eyes Only: Roles, Privileges, and Security in PostgreSQL - Stir Trek 2025
▶︎

For Your Eyes Only: Roles, Privileges, and Security in PostgreSQL - Stir Trek 2025

Optimizing Postgres for write heavy workloads ft. Checkpoint and WAL configs | Citus Con  2023
▶︎

Optimizing Postgres for write heavy workloads ft. Checkpoint and WAL configs | Citus Con 2023

Postgres is NOT A DATABASE.
▶︎

Postgres is NOT A DATABASE.

All About PostgreSQL's Security
▶︎

All About PostgreSQL's Security

PostgreSQL performance tips you have never seen before | Citus Con: An Event for Postgres 2023
▶︎

PostgreSQL performance tips you have never seen before | Citus Con: An Event for Postgres 2023

PostgreSQL Security: Defending Against External Attacks | Citus Con: An Event for Postgres 2023
▶︎

PostgreSQL Security: Defending Against External Attacks | Citus Con: An Event for Postgres 2023

Karen Jex: Tuning PostgreSQL to work even better (PGConf.EU 2023)
▶︎

Karen Jex: Tuning PostgreSQL to work even better (PGConf.EU 2023)

I replaced my entire tech stack with Postgres...
▶︎

I replaced my entire tech stack with Postgres...

Postgres, MVCC, and you or, Why COUNT(*) is slow (David Wolever)
▶︎

Postgres, MVCC, and you or, Why COUNT(*) is slow (David Wolever)

Webinar: Tuning Tips to Maximize Postgres Performance
▶︎

Webinar: Tuning Tips to Maximize Postgres Performance

Understanding & Managing Postgres Table Bloat | Citus Con: An Event for Postgres 2023
▶︎

Understanding & Managing Postgres Table Bloat | Citus Con: An Event for Postgres 2023

FOSDEM 2024 - For Your Eyes Only: Roles, Privileges, and Security in PostgreSQL
▶︎

FOSDEM 2024 - For Your Eyes Only: Roles, Privileges, and Security in PostgreSQL

All Postgres Locks Explained | A Deep Dive
▶︎

All Postgres Locks Explained | A Deep Dive

Part 13- PostgreSQL user and role Management
▶︎

Part 13- PostgreSQL user and role Management

Divide and Conquer: Multi-tenancy in Postgres | Citus Con: An Event for Postgres 2023
▶︎

Divide and Conquer: Multi-tenancy in Postgres | Citus Con: An Event for Postgres 2023

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Explaining the Postgres Query Optimizer | Citus Con: An Event for Postgres 2022
▶︎

Explaining the Postgres Query Optimizer | Citus Con: An Event for Postgres 2022

Scott and Mark learn...how agents reshape software engineering | BRK247
▶︎

Scott and Mark learn...how agents reshape software engineering | BRK247