Auto-commit vs. explicit transactions: retry safety for SQL writes in PyCharm's Database console
In current PyCharm releases, retrying a SQL statement in the Database console after a transient error forces a choice between auto-commit and an explicit transaction, and that choice determines whether a retry can duplicate a write. With auto-commit enabled, each statement is committed immediately, so re-executing an INSERT after a failure can create a secon