Y
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
AlterEgo20
4316 days ago
Postgres has transactional DDL and DML. If anything fails - everything is rolled back.
link
dragonwriter
4316 days ago
"Transnational" => "Transactional"
link
AlterEgo20
4316 days ago
Yep. Damn auto correct.
link