Federico Di Gregorio
8bb617ee76
Added very large lobject creation to the lobject.py example
2009-10-04 12:50:16 +02:00
Federico Di Gregorio
9670c9eddc
Enabled linking to static libpq
2009-10-04 12:43:30 +02:00
Federico Di Gregorio
390a9c2451
Added support for UUID arrays
2009-10-04 12:34:02 +02:00
Federico Di Gregorio
7022269b3d
Fixed a deadlock when using the same connection from multiple threads
2009-10-04 12:02:02 +02:00
Federico Di Gregorio
1c9fa1355d
Added README file about async support.
2009-10-04 11:33:35 +02:00
Federico Di Gregorio
0fc94be496
Preparing release 2.0.12
2009-08-09 17:22:18 +02:00
Federico Di Gregorio
3a6911216b
Fixed problem with large writes in large objects code
2009-08-09 17:05:16 +02:00
Federico Di Gregorio
a2af059e6c
Fixed PostgreSQL version detection
2009-08-09 16:28:27 +02:00
Federico Di Gregorio
29d00f56f6
Fix for retry on serialization errors for ZPsycopgDA
2009-08-09 16:22:43 +02:00
Federico Di Gregorio
36aff2f73d
Implemented connection.reset()
2009-08-09 16:19:08 +02:00
Federico Di Gregorio
4c3e2ad94b
Fixed problem with lots of columns in COPY operations
2009-08-09 15:13:42 +02:00
Federico Di Gregorio
e5a696ad58
Fixed version check in ZPsycopgDA
2009-08-09 14:53:41 +02:00
Federico Di Gregorio
091102a919
Preparing release 2.0.11
2009-05-09 14:52:16 +02:00
Federico Di Gregorio
e1fae0fcac
Fixed bug in RealDictCursor when prefetching
2009-05-09 14:44:59 +02:00
Federico Di Gregorio
3935c019fe
Fixed error in fetchXXX methods
2009-05-09 14:28:40 +02:00
Federico Di Gregorio
06eb574cec
Applied DictRow "diet" patch
2009-05-09 10:19:15 +02:00
Federico Di Gregorio
aecdf33b17
Removed old project files
2009-04-26 14:39:19 +02:00
Federico Di Gregorio
b0741721c3
Migrated project to MS Visual Studio 2008 format and repo to Git
2009-04-26 14:38:41 +02:00
Federico Di Gregorio
5e3fa15091
Better detection of PostgreSQL version
2009-04-21 00:38:09 +02:00
Federico Di Gregorio
f68d828f6b
Release 2.0.10
2009-04-20 20:37:59 +02:00
Federico Di Gregorio
d621c02e58
Preparing release 2.0.10
2009-04-20 20:34:06 +02:00
Federico Di Gregorio
85fdc828e7
Fix to double free segfault in cursor
2009-04-20 20:19:55 +02:00
Federico Di Gregorio
5db66038fe
Fix to double free segfault in connection
2009-04-19 16:51:31 +02:00
Federico Di Gregorio
5dab867db4
Added get_parameter_status() implementation
2009-04-19 16:42:06 +02:00
Federico Di Gregorio
39d6d8ad11
Exposed protocol_version and server_version
2009-04-19 16:36:10 +02:00
Federico Di Gregorio
e3a5ae8e20
Added a couple of test scripts to sandbox
2009-04-19 16:25:49 +02:00
Federico Di Gregorio
bb77a6912f
Added missing dict methods in DictRow
2009-04-19 16:25:12 +02:00
Federico Di Gregorio
bd19e3148c
Removed calls to PyMem_XXX when not holding the GIL
2009-04-07 09:25:05 +02:00
Federico Di Gregorio
16c2a8fc81
Cleaned conn_notice_callback() to run without the GIL
2009-04-04 19:17:40 +02:00
Federico Di Gregorio
f1e532151f
Removed unecessary import
2009-04-04 19:14:53 +02:00
Federico Di Gregorio
8e54f7dcce
Fixed test_dates failures in older version of Python
2009-04-01 20:52:58 +02:00
Federico Di Gregorio
e8ef973ddf
Fixed lobject test failures
2009-04-01 20:49:00 +02:00
Federico Di Gregorio
850423d8fc
Fixed setup script to handle PostgreSQL devel version strings
2009-03-21 12:54:44 +01:00
Federico Di Gregorio
825a60eec5
Removed spurious print
2009-03-16 22:15:20 +01:00
Federico Di Gregorio
0b0639dae5
Fixed error when adapt()ing None
2009-03-09 21:45:49 +01:00
Federico Di Gregorio
a574321fcd
NEWS for 2.0.10
2009-03-02 11:07:36 +01:00
Federico Di Gregorio
1daf300ca3
Support for seconds in time zone offsets
2009-03-02 11:07:17 +01:00
Federico Di Gregorio
5b04203c9f
Fixed error in register_type()
2009-03-02 10:59:52 +01:00
Federico Di Gregorio
a3ce636be0
Fixed error in register_type()
2009-03-02 10:56:53 +01:00
Federico Di Gregorio
4077711050
More cross-platform build fixes
2009-03-02 09:19:23 +01:00
Federico Di Gregorio
5c0cfa86bf
isinf() for Solaris
2009-02-27 11:02:45 +01:00
Federico Di Gregorio
71c7825b9c
Release 2.0.9
2009-02-23 21:39:47 +01:00
Federico Di Gregorio
9b259bba86
Removed some spurious tabs
2009-02-23 21:39:25 +01:00
Federico Di Gregorio
49bdaf92f6
Merge from trunk
2009-02-22 23:39:13 +01:00
Federico Di Gregorio
a6dff6c82a
Preparing release 2.0.9
2009-02-22 23:37:34 +01:00
James Henstridge
9067bde803
* psycopg/utils.c (psycopg_escape_string): same here.
...
* psycopg/adapter_binary.c (binary_escape): simplify PostgreSQL
version check.
* setup.py (psycopg_build_ext.finalize_options): use a single
define of the PostgreSQL version in a form that can easily be used
by #ifdefs.
2009-02-17 16:00:52 +09:00
James Henstridge
2a94dfae47
* tests/test_dates.py (DatetimeTests, mxDateTimeTests): full test
...
coverage for datetime and time strings with and without time zone
information.
* psycopg/typecast_datetime.c (typecast_PYDATETIME_cast): adjust
to handle the changes in typecast_parse_time.
(typecast_PYTIME_cast): add support for time zone aware time
values.
* psycopg/typecast_mxdatetime.c (typecast_MXDATE_cast): make sure
that values with time zones are correctly processed (even though
that means ignoring the time zone value).
(typecast_MXTIME_cast): same here.
* psycopg/typecast.c (typecast_parse_time): Update method to parse
second resolution timezone offsets.
2009-02-17 15:03:33 +09:00
James Henstridge
ba8be438bb
* psycopg/typecast.c (typecast_parse_time): Fix up handling of
...
negative timezone offsets with a non-zero minutes field.
* tests/test_dates.py (DatetimeTests): Add tests for time zone
parsing. The test for HH:MM:SS time zones is disabled because we
don't currently support it.
2009-02-17 12:58:45 +09:00
James Henstridge
3466b3b72d
Add tests for time zone parsing, for "HH", "HH:MM" and "HH:MM:SS" forms.
...
Currently the second fails for negative offsets due to bugs in the
parser, and the third fails because it doesn't even try to parse second
offset values (as Python doesn't either).
2009-02-17 12:39:57 +09:00
Federico Di Gregorio
41dd7a1095
Compile again on modern FreeBSD
2009-02-16 10:00:34 +01:00