Opened 16 months ago

Closed 5 months ago

#75 closed enhancement (fixed)

Add autocommit option to DB API 2

Reported by: cito Owned by:
Priority: major Milestone: 5.1
Component: DB API 2 Version: 5.0
Keywords: Cc:


The DB API 2 connection should get an attribute or methods allowing to put the connection into auto-commit mode since there are a few commands like "create database" or "vacuum" that can only be issued in that mode. As a workaround, you can currently use the classic module to issue such commands.

See and for how this is done in Psycopg2.

Change History (1)

comment:1 Changed 5 months ago by cito

  • Resolution set to fixed
  • Status changed from new to closed

This has now been implemented in r995 and will be available in version 5.1.

Note: See TracTickets for help on using tickets.