PostgreSQL database adapter for the Python programming language
Go to file
Jason Erickson 6933b3bece Skip test_cleanup_on_badconn_close on Windows
The Windows server version of PostgreSQL uses a function called pgkill in the
file kill.c in place of the UNIX kill function.  This pgkill function
simulates some of the SIGHUP like commands by passing signals through a named
pipe.  Because it is passing the signal through a pipe, the server doesn't get
the kill signal immediately and therefore fails the test on
test_connection.ConnectionTests.test_cleanup_on_badconn_close.
Ideally, the test should check to see if the server is running on Windows, not
the psycopg.
2014-05-18 20:58:50 -06:00
doc set_session() params documented in a more Python-friendly way 2014-05-05 23:06:32 +01:00
examples Fixed DNS typo in examples 2014-03-25 14:29:36 +00:00
lib Hardcode the list of attributes to be used in comparison 2014-02-22 23:06:02 +00:00
psycopg Parse the rowcount as long 2014-05-13 14:18:46 +01:00
sandbox Close the connection on error in callback 2012-10-06 11:58:52 +01:00
scripts Fix multiple misspellings 2013-04-26 10:32:21 +01:00
tests Skip test_cleanup_on_badconn_close on Windows 2014-05-18 20:58:50 -06:00
.gitignore Add .tox to .gitignore 2012-06-15 02:57:11 -07:00
.travis.yml Add .travis.yml for Travis CI (http://travis-ci.org/) 2012-06-15 08:07:19 -07:00
AUTHORS Preparing release 2.3.0-beta1 2010-11-06 15:50:39 +01:00
INSTALL Fix multiple misspellings 2013-04-26 10:32:21 +01:00
LICENSE Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
Makefile Merge branch 'python2' into python3 2011-01-02 03:28:00 +01:00
MANIFEST.in Fixed manifest to avoid spurious messages during install 2013-06-23 02:01:35 +01:00
NEWS Copy operations correctly set the cursor.rowcount attribute 2014-05-05 23:52:41 +01:00
psycopg2.cproj All unit test modules have a test_ prefix 2011-10-19 02:20:43 +01:00
psycopg2.sln New 'withhold' parameter for connection.cursor() 2011-08-10 18:25:46 +02:00
README A bunch of typos fixed in the examples by Josh Kupershmidt 2011-12-15 23:58:22 +00:00
setup.cfg Fix multiple misspellings 2013-04-26 10:32:21 +01:00
setup.py Bump up version for release 2.5.3 2014-05-13 16:20:39 +01:00
tox.ini Dropped Zope support 2012-12-03 02:53:20 +00:00

psycopg2 - Python-PostgreSQL Database Adapter
********************************************

psycopg2 is a PostgreSQL database adapter for the Python programming
language.  psycopg2 was written with the aim of being very small and fast,
and stable as a rock.

psycopg2 is different from the other database adapter because 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. psycopg2 also provides full asynchronous operations and support
for coroutine libraries.

psycopg2 can compile and run on Linux, FreeBSD, Solaris, MacOS X and
Windows architecture. It supports Python versions from 2.4 onwards and
PostgreSQL versions from 7.4 onwards.

psycopg2 is free software ("free as in freedom" but I like beer too.)
It is licensed under the GNU Lesser General Public License, version 3 or
later plus an exception to allow OpenSSL (libpq) linking; see LICENSE for
more details.

Documentation
-------------

Start by reading the INSTALL file. More information about psycopg2 extensions
to the DBAPI-2.0 is available in the files located in the doc/ direcory.
Example code can be found in the examples/ directory. If you make any changes
to the code make sure to run the unit tests localed in tests/.

Online documentation can be found at: http://initd.org/psycopg/

If you stumble upon any bugs, please tell us at: http://psycopg.lighthouseapp.com/

Contributors
------------

For a list of contributors to the project, see the AUTHORS file.