Go offline with the Player FM app!
Soft delete
Manage episode 426102095 series 3369151
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
105 episodes
Manage episode 426102095 series 3369151
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
105 episodes
All episodes
×Welcome to Player FM!
Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.