Hacker News new | ask | show | jobs
by mdellabitta 4317 days ago
What if you're writing a migration that includes DML, and it fails partway through? Wouldn't it be good to be able to restore the DB state automatically and try again?
1 comments

Postgres has transactional DDL and DML. If anything fails - everything is rolled back.
"Transnational" => "Transactional"
Yep. Damn auto correct.