Adding deleted_at keeps the row. It does not decide how uniqueness, restoration or related records should behave.
Tag: postgresql
Programming
Programming
A pool of ten connections sounds small until twenty application instances each have one.
Programming
A successful backup job tells you something useful. Restoring it and running the application tells you considerably more.
Programming
Two people can save valid changes and still overwrite each other. A version check gives the application a chance to catch it.
Programming
Checking whether a record exists before inserting another one does not guarantee uniqueness.
Programming
When a database query gets slow, adding an index is an appealingly concrete thing to do.
Programming
PostgreSQL 14 reaches the end of community support on 12 November 2026.