Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IIRC (without checking the manuals) data-definition commands might not be covered by such transactions: such as altering, dropping tables and possibly truncates.


PostgreSQL is quite good about DDL being transactional. So I was surprised (tbf, I shouldn't have been) when Redshift autocommitted after a TRUNCATE. But DROP TABLE is transactional, go figure.


DDL is transactional in Microsoft SQL Server as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: