News for hackers. Stuff that matters.
Re:A race condition in Aurora RDS by o11c on Friday November 14, 2025 @11:43PM (#45935101)
Yes, and most DBMS's are full of historical mistakes.

In a sane world, statements outside `BEGIN` would be an unconditional error.

Re:A race condition in Aurora RDS by grogers on Saturday November 15, 2025 @11:24AM (#45938485)
Autocommit mode is pretty handy for ad-hoc queries at least. You wouldn't want to have to remember to close the transaction since keeping a transaction open is often really bad for the DB
Re:A race condition in Aurora RDS by evanelias on Saturday November 15, 2025 @03:12PM (#45940231)
Lack of autocommit would be bad for performance at scale, since it would add latency to every single query. And the MVCC implications are non-trivial, especially for interactive queries (human taking their time typing) while using REPEATABLE READ isolation or stronger... every interactive query would effectively disrupt purge/vacuum until the user commits. And as the sibling comment noted, that would be quite harmful if the user completely forgets to commit, which is common.

In any case, that's a subjective opinion on database design, not a bug. Anyway it's fairly tangential to the client library bug described up-thread.