
Episode 103
Soft delete
Postgres FM · Nikolay Samokhvalov and Michael Christofides
June 28, 202437m 40s
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Nikolay and Michael discuss soft deletion in Postgres — what it means, several use cases, some implementation options, and which implementations suit which use cases.
Here are some links to things they mentioned:
- Soft deletion probably isn't worth it (blog post by Brandur) https://brandur.org/soft-deletion
- Easy alternative soft deletion (blog post by Brandur) https://brandur.org/fragments/deleted-record-insert
- Our episode on auditing https://postgres.fm/episodes/auditing
- CREATE FUNCTION … SECURITY DEFINER (docs) https://www.postgresql.org/docs/current/sql-createfunction.html
- Principle of least privilege https://en.wikipedia.org/wiki/Principle_of_least_privilege
~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!
~~~
Postgres FM is produced by:
- Michael Christofides, founder of pgMustard
- Nikolay Samokhvalov, founder of Postgres.ai
With special thanks to:
- Jessie Draws for the elephant artwork
Topics
PostgresPostgreSQLDatabasesSQLtechnology