Commit Graph

198 Commits

Author SHA1 Message Date
Daniele Varrazzo
d6cdc1c7b6 Bump to 2.3.dev0 2010-11-05 09:34:53 +00:00
Daniele Varrazzo
0021e56d80 Added connection.xid() and related objects.
By James Henstridge on 2008-07-23.

Merged from lp:~jamesh/psycopg/two-phase-commit/revision/356

* psycopg/connection_type.c (psyco_conn_xid): add a
Connection.xid() method that instantiates Xid objects.

* psycopg/psycopgmodule.c (init_psycopg): initialise the Xid
object type.

* psycopg/xid.h:
* psycopg/xid_type.c: Implement a basic transaction ID object for
use in two phase commit.
2010-11-05 09:34:47 +00:00
Daniele Varrazzo
f435d15c95 Adding Notify object with payload. 2010-11-05 09:34:46 +00:00
Daniele Varrazzo
cb1ef242a0 Bump to version 2.2.3-devel. 2010-09-23 23:27:55 +01:00
Federico Di Gregorio
c3b835929b Preparing release 2.2.2 2010-07-18 12:32:45 +02:00
Federico Di Gregorio
557608f715 Applied spelling fixes patch from Peter Eisentraut 2010-07-18 12:14:46 +02:00
Daniele Varrazzo
e3d489f701 Bump to version 2.2.2-devel.
The -devel suffix appears in the docs we publish on the website, so it's
clear that they refer to the upcoming version.
2010-05-20 02:03:07 +01:00
Daniele Varrazzo
eacf6febfe Warn on declarations not at beginning of the block.
They are accepted by gcc but not by MS compilers.
2010-05-19 11:40:38 +01:00
Federico Di Gregorio
23391a3c55 Preparing release 2.2.1 2010-05-17 21:51:25 +02:00
Jason Erickson
069695b4ae Additional Library for Windows linking and OpenSSL 1.0.0
Added the linking of crypt32.lib to the windows SSL build, as it seems that the current version of OpenSSL is looking for crypt32.lib as well.
2010-05-17 09:06:29 +02:00
Federico Di Gregorio
36cbefdee1 Updated project and version for release 2.2.0 2010-05-15 17:51:54 +02:00
Daniele Varrazzo
1446f046e9 Added wait callback and functions to deal with it. 2010-04-21 15:21:32 +01:00
Federico Di Gregorio
012e2e3c72 Preparing 2.2.0 release candidate 1 2010-04-05 17:06:35 +02:00
Federico Di Gregorio
0edd520593 Preparing release 2.0.14 (final) 2010-03-13 21:15:50 +01:00
Federico Di Gregorio
21a6a64fd1 Changed setup.py to detect PostgreSQL "alpha" versions 2010-03-11 22:42:00 +01:00
Federico Di Gregorio
3636bc4201 Release candidate 1 2010-02-22 19:45:48 +01:00
Federico Di Gregorio
fd6d3185b4 Preparing release 2.0.14 2010-02-21 01:26:43 +01:00
Federico Di Gregorio
192034dc38 Fixed problem with decimal.Decimal conversions 2010-02-21 01:04:00 +01:00
Federico Di Gregorio
67de65040c Fixed license in trove categories 2010-02-14 13:35:49 +01:00
Daniele Varrazzo
f6e87fbb30 Moved status from beta to stable in trove classifier. 2010-02-14 00:35:48 +01:00
Federico Di Gregorio
611606d532 Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
Jason Erickson
b537404487 Fixed --have_ssl command line parameter
Added initialization of have_ssl variable so passing --have_ssl on the
command line works.
2009-10-08 13:18:55 +02:00
Jason Erickson
ac1b5ce68a Unclear error message when no pg_config found
If unable to find pg_config, a warning will be printed instead of stopping
the build process and displaying a generic error message.
2009-10-08 13:17:26 +02:00
Jason Erickson
69a8400e60 Added additional library required for PostgreSQL 8.4.x
For MSVC, added an additional library to include that is required for
PostgreSQL 8.4.x.
2009-10-04 23:37:14 +02:00
Federico Di Gregorio
9bd771cda0 Preparing release 2.0.13 2009-10-04 12:53:42 +02:00
Federico Di Gregorio
9670c9eddc Enabled linking to static libpq 2009-10-04 12:43:30 +02:00
Federico Di Gregorio
0fc94be496 Preparing release 2.0.12 2009-08-09 17:22:18 +02:00
Federico Di Gregorio
a2af059e6c Fixed PostgreSQL version detection 2009-08-09 16:28:27 +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
5e3fa15091 Better detection of PostgreSQL version 2009-04-21 00:38:09 +02:00
Federico Di Gregorio
d621c02e58 Preparing release 2.0.10 2009-04-20 20:34:06 +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
850423d8fc Fixed setup script to handle PostgreSQL devel version strings 2009-03-21 12:54:44 +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
Federico Di Gregorio
eb25f9f154 Added adapter to handle float('inf') and float('nan') 2009-01-23 00:09:20 +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
345a254ca0 Remove conditionals on support for booleans and datetimes, since they
are guaranteed to be available in Python 2.4.
2008-12-26 23:46:35 +09:00
Federico Di Gregorio
c1d6073531 Applied COPY patch from Alejandro Dubrovsky 2008-11-25 17:45:22 +01:00
Federico Di Gregorio
b92601306e Added suppport for UUID and related test. 2008-09-19 21:25:16 +02:00
Federico Di Gregorio
a5e01ef0df Fixed spaces in pg_config path 2008-06-28 18:34:57 +02:00
James Henstridge
938c456cee Merge changes from psycopg2/trunk via psycopg2.r243. 2008-05-05 10:37:24 +08:00
James Henstridge
31ef9355c2 Merge psycopg2/trunk into psycopg2/branches/2_0_x r243 (which is the
last revision merged into trunk).  Where file ID conflicts exist, but 
the content was equivalent, I've picked the 2_0_x version.
2008-05-05 10:22:22 +08:00
Federico Di Gregorio
8103f44a12 Fixed test segfault due to double decref. 2008-03-17 08:13:16 +00:00
Federico Di Gregorio
d6e232e2b9 Various fixes, now all examples work. 2007-04-13 14:07:11 +00:00
Federico Di Gregorio
ee44315ff2 Appliet Jasons patch to fix win32 build glitches. 2007-04-13 01:14:01 +00:00
Federico Di Gregorio
f57920b0dd Release 2.0.6b2. 2007-04-11 07:12:16 +00:00
Federico Di Gregorio
2a6b523506 Fixed crash and win32 patches. 2007-04-11 04:16:00 +00:00
Federico Di Gregorio
2883428791 Lets do a beta release. 2007-01-19 03:40:27 +00:00
Federico Di Gregorio
b651781f63 Added note about missign pg headers to INSTALL. 2007-01-16 10:11:28 +00:00
Federico Di Gregorio
616a1c2042 Preparing 2.0.5.1. 2006-09-02 01:09:31 +00:00
Federico Di Gregorio
0b9d13455d Missing file. 2006-09-01 16:44:07 +00:00
Federico Di Gregorio
b8f3cef62f psycopg is enlarging.. 2006-09-01 16:27:02 +00:00
Federico Di Gregorio
64933f2004 Merge from 2_0_x branch up to r814. 2006-09-01 13:46:57 +00:00
Federico Di Gregorio
4138409ab6 Fixed use of use_pydatetime in setup.cfg. 2006-09-01 08:44:57 +00:00
Federico Di Gregorio
d7100abbbe Changing version numbers for 2.0.5. 2006-09-01 08:33:01 +00:00
Federico Di Gregorio
f202c7fc81 Preparing release 2.0.4. 2006-08-01 23:36:50 +00:00
Federico Di Gregorio
14805a5311 Preparing release 2.0.3. 2006-07-31 00:22:13 +00:00
Federico Di Gregorio
8d8bfe969b Preparing 2.0.2. 2006-06-11 05:15:27 +00:00
Federico Di Gregorio
ba3361a7a6 Fixing ZPsycopgDA glitches of 2.0. 2006-06-09 00:05:42 +00:00
Federico Di Gregorio
429fd4f1d7 Zope DA fixes and preparing 2.0. 2006-06-07 23:33:47 +00:00
Federico Di Gregorio
ec877b0ef9 Final of 8.1.4 securiy patch. 2006-05-24 10:29:35 +00:00
Federico Di Gregorio
750806c806 Fixed setup.py buglet. 2006-04-27 14:20:11 +00:00
Federico Di Gregorio
bf52a9ac21 Preparing 2.0 beta 8. 2006-02-11 11:02:02 +00:00
Federico Di Gregorio
8db642945c MSVC build fixes. 2006-02-11 06:51:38 +00:00
Federico Di Gregorio
791a728c01 Applied patch #87 to make setup.py to not depend but just use pg_config. 2006-01-10 16:23:03 +00:00
Federico Di Gregorio
5871596eda Some more tests in sandbox. 2006-01-10 16:13:37 +00:00
Daniele Varrazzo
3076046b3f * libpq.dll not used anymore. win32 setup uses pg_config too.
* Some typo fixed.
2006-01-05 16:56:40 +00:00
Federico Di Gregorio
d5674253ca We now use pg_config in setup.py (closes: #70). 2006-01-05 04:19:01 +00:00
Federico Di Gregorio
73846966a2 We now distribute documentation. 2006-01-01 11:14:48 +00:00
Federico Di Gregorio
7db16edad3 Connection encoding case fix (closes: #83). 2006-01-01 09:10:17 +00:00
Federico Di Gregorio
31d85750b0 mx_include_dir in setup.cfg. 2005-12-11 08:05:49 +00:00
Federico Di Gregorio
4316ddf30a Applied Darwin patch from #70. 2005-11-17 13:37:47 +00:00
Federico Di Gregorio
c5bc1a3b9a Small changes to interval parsing. 2005-11-03 16:03:06 +00:00
Federico Di Gregorio
f03b94d84b Run-time check for Decimal on Python 2.3. 2005-11-03 01:35:17 +00:00
Federico Di Gregorio
8d4607ebbd Releasing 2.0 beta 5. 2005-10-18 14:20:27 +00:00
Federico Di Gregorio
e1688431e0 Isolation level changes. 2005-10-08 03:04:40 +00:00
Federico Di Gregorio
8d3fd21280 mingw fixes. 2005-08-23 10:38:36 +00:00
Federico Di Gregorio
4d536c1f12 psycopg -> psycopg2 name change. 2005-08-22 01:49:18 +00:00
Federico Di Gregorio
c281a38236 Releasing 2.0b4. 2005-07-17 04:26:27 +00:00
Federico Di Gregorio
7d2109f979 Don't segfault on empty queries anymore (closes: #24). 2005-06-13 03:54:24 +00:00
Federico Di Gregorio
8a6c55a342 About to release.. *grin* 2005-05-26 07:38:56 +00:00
Federico Di Gregorio
367f7b92f4 setup.py improvements. 2005-05-17 23:32:26 +00:00
Federico Di Gregorio
d57ceaadc6 Release 2.0 beta 1. 2005-05-09 09:48:40 +00:00
Federico Di Gregorio
48d8bd39a1 Array support completed (closes: #1). 2005-04-10 05:38:34 +00:00
Federico Di Gregorio
1430849c81 Better error message about missing headers (Closes: #9). 2005-04-10 03:36:39 +00:00
Federico Di Gregorio
4805a93569 mingw patch from Daniele Varazzo. 2005-04-10 03:05:39 +00:00
Federico Di Gregorio
19cb161d27 Array tokenization seems working. 2005-03-23 10:32:30 +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
a61f715b46 Bumped up version to 1.99.12.1. 2005-03-04 03:36:23 +00:00
Federico Di Gregorio
e8e6c0ada3 Preparing release 1.99.12. 2005-03-02 14:16:55 +00:00
Federico Di Gregorio
e5f558a6be COPY FROM works. 2005-03-01 16:41:02 +00:00
Federico Di Gregorio
cd672525e1 Adaptation fixes (a lot.) 2005-02-28 15:50:55 +00:00
Federico Di Gregorio
bbb6c8f22c MacOS X build patch. 2005-02-07 02:42:33 +00:00
Federico Di Gregorio
818caa5637 Fixes to row_factory. 2004-11-19 15:30:07 +00:00
Federico Di Gregorio
c904d97f69 Initial psycopg 2 import after SVN crash. 2004-10-19 03:17:12 +00:00