psycopg is a PostgreSQL database adapter for the Python programming language (just like pygresql and popy). It supports the full Python DBAPI 2.0 and it is thread safe at level 2. It was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. Every open Python connection keeps a pool of real (UNIX or TCP/IP) connections to the database. Every time a new cursor is created, one of the unused connections from the pool is used instead of a new connection being opened. That makes psycopg very fast in typical client-server applications that create a servicing thread every time a client request arrives.
released on 16 July 2005
|License||Verified by||Verified on||Notes|
|GPLv2||Janet Casey||7 March 2002|
Leaders and contributors
Resources and communication
|Developer||VCS Repository Webview||http://cvs.initd.org/cgi-bin/viewcvs.cgi/psycopg/|
This entry (in part or in whole) was last reviewed on 18 July 2005.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.