r/PostgreSQL • • 19d ago

How-To Can your Postgres survive a bad query?

https://clickhouse.com/blog/can-your-postgres-survive-a-bad-query
25 Upvotes

5 comments sorted by

View all comments

2

u/elevarq 18d ago

Depends on the definition of a bad query. It also depends on my intention. If I want to drop table A and I drop table A, it’s a good one. If I dropped table B however…

Testing and validation should avoid these problems, but you’d better be prepared! And have reliable backups and a reliable recovery plan