Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved datatime compatibility macros with others | Daniele Varrazzo | 2018-01-10 | 1 | -0/+5 |
| | |||||
* | Add news and update version check | Hugo | 2017-11-28 | 1 | -2/+4 |
| | |||||
* | Drop support for EOL Python 2.6 | Hugo | 2017-11-28 | 1 | -10/+2 |
| | |||||
* | Stop compiling with Python 2.5 | Daniele Varrazzo | 2016-08-15 | 1 | -2/+2 |
| | |||||
* | Dropped support for Python 2.4 | Daniele Varrazzo | 2013-03-20 | 1 | -31/+2 |
| | |||||
* | Added a C structure to psycopg.Error | Daniele Varrazzo | 2013-03-19 | 1 | -0/+1 |
| | | | | This will allow to store a PGresult in it. | ||||
* | Added compatibility PyErr_WarnEx macro for Python 2.4 | Daniele Varrazzo | 2012-10-06 | 1 | -0/+5 |
| | |||||
* | Merge branch 'transaction-control' into devel | Daniele Varrazzo | 2011-06-03 | 1 | -0/+1 |
|\ | |||||
| * | Dropped isolation level from the connection object | Daniele Varrazzo | 2011-06-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Don't issue a SET TRANSACTION ISOLATION LEVEL at every begin: use PG's GUC default, eventually set by set_transaction. Dropped the last query at connection, yay! Method set_isolation_level() and property isolation_level refactored using the new structures, keeping the previous semantic. | ||||
* | | Fixed escape for negative numbers prefixed by minus operator | Daniele Varrazzo | 2011-05-30 | 1 | -0/+2 |
|/ | | | | Closes ticket #57. | ||||
* | Python 3.2 hash() return value is arch dependant | Jason Erickson | 2011-02-18 | 1 | -0/+9 |
| | | | | | | | Python 3.2 hash() function will now return a 64bit value when run on a 64bit architecture, where as previously, it would always return a 32bit value. Modified the code to use the now Py_hash_t typedef and for Python versions less than 3.2, hard code Py_hash_t to long and Py_uhash_t to unsigned long. | ||||
* | Fixed compiling on Python versions before 2.6 | Daniele Varrazzo | 2011-01-03 | 1 | -0/+5 |
| | | | | Added a few macros not defined in Py 2.4. Don't know about 2.5. | ||||
* | Added Py3 compatibility macro for Py_TPFLAGS_HAVE_WEAKREFS | Daniele Varrazzo | 2011-01-03 | 1 | -0/+1 |
| | |||||
* | Use the same Bytes_Format function for both Python 2 and 3. | Daniele Varrazzo | 2010-12-31 | 1 | -7/+6 |
| | | | | | | This makes the behaviour between the two versions similar. It also have the effect of a more specific error message in case an user specifies a placeholder different from 's'. | ||||
* | Added utility function to get bytes from a str/unicode. | Daniele Varrazzo | 2010-12-31 | 1 | -0/+2 |
| | |||||
* | Datetime adaptation in bytes. | Daniele Varrazzo | 2010-12-31 | 1 | -6/+0 |
| | |||||
* | Added PyBytes_Format function. | Daniele Varrazzo | 2010-12-31 | 1 | -0/+11 |
| | |||||
* | The library can be compiled with Python 3. | Daniele Varrazzo | 2010-12-21 | 1 | -0/+62 |
| | | | | | | | | | Just compiled! No test run yet and many points to review, marked in the code. The patch is largely Martin von Löwis work, simplified after refactoring in the previous commits and adapted to the new code (as the patch was originally for Psycopg 2.0.9) | ||||
* | Import structmember/stringobject headers from python.h. | Daniele Varrazzo | 2010-12-21 | 1 | -0/+3 |
| | | | | stringobject is not to be imported with Python 3. | ||||
* | Added a few compatibility macros defined in Py 2.6. | Daniele Varrazzo | 2010-12-21 | 1 | -2/+6 |
| | |||||
* | Internal imports simplified. | Daniele Varrazzo | 2010-12-12 | 1 | -2/+0 |
| | | | | | | | | | | .c files only need to import psycopg.h: it will in turn import dependencies from Python and libpq and configure.h. psycopg.h should be the first to be imported, so the basic imports are not required in the .h's As a guideline I'm trying to import from the most specific to the most generic to detect missing imports in the .h's. | ||||
* | Py_TYPE defined as it is in Python 2.6. | Daniele Varrazzo | 2010-11-08 | 1 | -1/+1 |
| | |||||
* | Added compatibility macro for pre 2.6 | Daniele Varrazzo | 2010-11-05 | 1 | -0/+4 |
| | |||||
* | implement sequence behaviour, as required for transaction IDs. | Daniele Varrazzo | 2010-11-05 | 1 | -0/+2 |
| | | | | | | By James Henstridge on 2008-07-24. Merged from lp:~jamesh/psycopg/two-phase-commit/revision/357 | ||||
* | Fixed Python 2.4 compatibility breakage | Federico Di Gregorio | 2010-04-09 | 1 | -0/+1 |
| | |||||
* | Changes license to LGPL3 + OpenSSL exception on all source files | Federico Di Gregorio | 2010-02-12 | 1 | -12/+16 |
| | |||||
* | Remove backward compatibility support for Python versions older than | James Henstridge | 2008-12-26 | 1 | -30/+24 |
| | | | | 2.4, since we don't really support them any way. | ||||
* | * psycopg/connection_type.c: | James Henstridge | 2008-05-28 | 1 | -0/+23 |
| | | | | | | | * psycopg/cursor_type.c: add support for cyclic GC. * psycopg/python.h: add definitions for Py_CLEAR() and Py_VISIT() for compatibility with old versions of Python. | ||||
* | Fixed both Python 2.5 and 64 bit problems. | Federico Di Gregorio | 2007-04-10 | 1 | -1/+2 |
| | |||||
* | Initial psycopg 2 import after SVN crash. | Federico Di Gregorio | 2004-10-19 | 1 | -0/+43 |