Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mdellabitta
· 12y ago · 0 comments
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?
Comments
[–]
AlterEgo20
12y ago
Postgres has transactional DDL and DML. If anything fails - everything is rolled back.
[–]
dragonwriter
12y ago
"Transnational" => "Transactional"
[–]
AlterEgo20
12y ago
Yep. Damn auto correct.