This project is archived and is in readonly mode.
Comments and changes to this ticket
- State changed from new to hold
Ticket put on hold: I don't want to add with support until the DB-SIG decides what should be its semantic. I'm not so worried about the cursor: more about the connection as there could be several ways to exit it. Notice though that cursors (the regular ones, not named ones) don't really hold any resource except the memory they have allocated, so using them into a with context doesn't really protect anything.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.