Soft delete
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:
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!
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