#75: Add autocommit option to DB API 2 -------------------------+----------------- Reporter: cito | Owner: Type: enhancement | Status: new Priority: major | Milestone: 5.1 Component: DB API 2 | Version: 5.0 Keywords: | -------------------------+----------------- 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 http://initd.org/psycopg/docs/usage.html#transactions-control and http://initd.org/psycopg/docs/connection.html#connection.autocommit for how this is done in Psycopg2. -- Ticket URL: <http://trac.pygresql.org:8000/pgtracker/ticket/75> PyGreSQL <http://www.pygresql.org/> PyGreSQL Tracker _______________________________________________ PyGreSQL mailing list PyGreSQL@vex.net https://mail.vex.net/mailman/listinfo.cgi/pygresql