Daniele Varrazzo
5bbfd38dfb
Check for errors in float adaptation
2012-03-04 04:43:14 +00:00
Daniele Varrazzo
cb6b52945b
The library can be compiled with Python 3.
...
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)
2010-12-21 04:24:36 +00:00
Daniele Varrazzo
e182201e6e
Added Python codec name to the connection.
...
This allows dropping repeated dictionary lookups with unicode
query/parameters.
2010-12-21 04:02:14 +00:00
Federico Di Gregorio
192034dc38
Fixed problem with decimal.Decimal conversions
2010-02-21 01:04:00 +01:00
Federico Di Gregorio
611606d532
Changes license to LGPL3 + OpenSSL exception on all source files
2010-02-12 23:34:53 +01:00
James Henstridge
83b03e5e36
If we are depending on Python 2.4, we don't need to make decimal module
...
support conditional.
2008-12-27 00:03:11 +09:00
James Henstridge
eae563ac96
* psycopg/*.[ch]: add const qualifier to various string arguments
...
to functions (typecast functions and conn_switch_isolation_level).
2008-01-21 17:34:08 +00:00
Daniele Varrazzo
e1dd9ca843
Fixed bug #192 (Decimal support not safe for use with multiple sub
...
interpreters) as proposed by Graham Dumpleton.
If running in the main interpreter, use a cached version of the Decimal
object. Else repeat the object lookup.
2007-10-21 03:22:55 +00:00
Daniele Varrazzo
c71b7a03d0
Added missing return in case out of memory.
2007-10-18 17:19:16 +00:00
Federico Di Gregorio
967ec370ed
int->size_t transition.
2007-04-13 01:16:22 +00:00
Federico Di Gregorio
53d10a3ddf
Fixed compile problems on old gcc.
2006-09-01 08:02:41 +00:00
Federico Di Gregorio
f202c7fc81
Preparing release 2.0.4.
2006-08-01 23:36:50 +00:00
Federico Di Gregorio
cf7701a151
Little fixes.
2006-06-15 12:39:56 +00:00
Federico Di Gregorio
6b0b634bae
Code cleanup.
2005-10-18 01:29:47 +00:00
Federico Di Gregorio
65a4b86fa2
chunk/buffer patch applied.
2005-05-09 08:11:43 +00:00
Federico Di Gregorio
cddb1a15d4
Array quoting (not completely working.)
2005-03-23 00:43:36 +00:00
Federico Di Gregorio
def14d5925
Array support works, at least for INTEGERS.
2005-03-22 16:33:57 +00:00
Federico Di Gregorio
9316c6af53
Optimizations to type casting (in preparation to array support.)
2005-03-12 06:39:47 +00:00
Federico Di Gregorio
c904d97f69
Initial psycopg 2 import after SVN crash.
2004-10-19 03:17:12 +00:00