7 ways to crash Postgres
1. Do not apply updates and remain on outdated versions of PostgreSQL.
2. Run out of disk space by allowing the database to grow without monitoring disk usage. This can result in errors and panics.
3. Delete important database files and directories which causes the database to fail to start.
4. Set memory settings too high and overload the system memory, triggering out of memory kills of the PostgreSQL process.
5. Use faulty hardware without monitoring for failures which can lead to corrupted blocks and index errors.
6. Allow too many open connections without connection pooling which can prevent new connections.
7. Accumulate zombie locks by not closing transactions, slowing down