Commit Graph

236 Commits

Author SHA1 Message Date
Daniele Varrazzo
af424821b7 Don't build mx.DateTime support if the module can't be imported
Previously we only checked for the existence of the include files, but this
doesn't imply the presence of the module. Particularly true in restricted
environments such as virtualenv.

Closes ticket #53.
2011-05-11 12:59:31 +01:00
Daniele Varrazzo
c61ec094a3 Don't fetch all the records iterating a NamedTuple cursor on a named cursor 2011-04-26 19:26:19 +01:00
Daniele Varrazzo
c08799b0b0 Fixed SystemError clobbering libpq errors raised without SQLSTATE
Bug vivisectioned by Eric Snow
<http://archives.postgresql.org/psycopg/2011-04/msg00019.php>.
2011-04-24 02:59:28 +01:00
Daniele Varrazzo
746afdf69f Added missing vertical spaces in NEWS 2011-04-15 01:11:22 +01:00
Daniele Varrazzo
e3605b33c1 Updated NEWS with the connection encoding fix 2011-04-08 14:36:49 +01:00
Daniele Varrazzo
7716cc6a0c Allow to specify --static-libpq on setup.py command line
Patch provided by Matthew Ryan (ticket #48).
2011-03-26 13:48:37 +00:00
Daniele Varrazzo
da58bee70a Added documentation for the bytea parser 2011-03-26 12:59:15 +00:00
Daniele Varrazzo
fcbe0466a6 Correctly detect an empty query sent to the backend
Closes ticket #46.
2011-03-04 20:30:43 +00:00
Federico Di Gregorio
2212ea96a6 Preparing release 2.4
* NEWS file now uses 72 columns (better in emails and posts)
* Bumped versions
* Updated MonoDevelop file
2011-02-27 12:52:00 +01:00
Daniele Varrazzo
5211e1474b Don't limit the hstore search to the public schema only
Looks like there is a case for installing hstore somewhere else (see
ticket #45). And after all the typecaster can be registered on a list of
OIDs, so let's grab them all.
2011-02-25 00:19:49 +00:00
Daniele Varrazzo
f9862211b1 NEWS for release 2.4 ordered in groups 2011-02-23 14:23:34 +00:00
Daniele Varrazzo
894d3f653c Raise an exception if the libpq fails to decode bytea in hex format 2011-02-23 14:04:27 +00:00
Daniele Varrazzo
1db9c9b8ce The cursor name can be a non-valid PostgreSQL identifier 2011-02-23 01:53:25 +00:00
Daniele Varrazzo
7996333ee7 Added regression test to check {} is also a valid string 2011-02-20 12:28:50 +00:00
Daniele Varrazzo
c620f18be1 Provide cursor.description as named tuple if possible
If namedtuple() is not available, use regular tuples.
2011-02-19 00:05:43 +00:00
Daniele Varrazzo
e2cbc3411d Duplicate item in NEWS dropped, quotes cleanup 2011-02-19 00:00:34 +00:00
Daniele Varrazzo
63ac6cdde5 Added cursor.itersize
The value is used to control the number of records to fetch per network
roundtrip in named cursors iteration. Used to avoid the inefficient
arraysize default of 1 without giving this value the magic meaning of
2000.
2011-02-17 12:36:02 +00:00
Daniele Varrazzo
3b10ef8998 Documentation about new support for binary objects improved 2011-02-16 02:54:30 +00:00
Daniele Varrazzo
3ae2f221b3 Adapt bytearray and memoryview to bytes if available 2011-02-15 17:30:43 +00:00
Daniele Varrazzo
c1fe0b675a Dropped correct roundtrip of empty array
The feature in itself is not extremely useful and instead PostgreSQL is
not always able to cast away from text[], which is a regression see
(ticket #42).
2011-02-15 10:27:47 +00:00
Daniele Varrazzo
4c336a51bc Added test to check issue #40 2011-02-12 20:19:02 +00:00
Federico Di Gregorio
352d0d1f07 Preparing 2.4 beta 1
* Unified NEWS (we don 't support 2.0 anymore)
* Bumped up version in setup.py and ZPsycopgDA/DA.py
2011-02-06 16:54:35 +01:00
Federico Di Gregorio
e286970b62 Preparing release 2.2.0 2010-05-16 12:55:59 +02:00
Federico Di Gregorio
0edd520593 Preparing release 2.0.14 (final) 2010-03-13 21:15:50 +01:00
Federico Di Gregorio
6733c64412 Varrazzo has two "r"! 2010-02-22 09:09:44 +01:00
Federico Di Gregorio
fd6d3185b4 Preparing release 2.0.14 2010-02-21 01:26:43 +01:00
Daniele Varrazzo
08e14e1049 Restored meaning of the word "respectively". 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
Federico Di Gregorio
69224032ce Fixed missing entry in NEWS file 2009-10-04 12:55:28 +02:00
Federico Di Gregorio
9bd771cda0 Preparing release 2.0.13 2009-10-04 12:53:42 +02:00
Federico Di Gregorio
0fc94be496 Preparing release 2.0.12 2009-08-09 17:22:18 +02:00
Federico Di Gregorio
091102a919 Preparing release 2.0.11 2009-05-09 14:52:16 +02:00
Federico Di Gregorio
d621c02e58 Preparing release 2.0.10 2009-04-20 20:34:06 +02:00
Federico Di Gregorio
a574321fcd NEWS for 2.0.10 2009-03-02 11:07:36 +01:00
Federico Di Gregorio
a6dff6c82a Preparing release 2.0.9 2009-02-22 23:37:34 +01:00
Federico Di Gregorio
5c982d90f0 Unified string quoting 2008-11-25 19:18:17 +01:00
Federico Di Gregorio
758eaf23d1 Preparing release 2.0.8 2008-09-16 09:58:44 +02:00
James Henstridge
bc662db1cc Fill in a few more items in the NEWS file for 2.0.8. 2008-08-26 14:47:47 +08:00
Federico Di Gregorio
e95a4d9d2e get_backend_pid() patch and fixes 2008-07-26 15:09:20 +02:00
Federico Di Gregorio
8103f44a12 Fixed test segfault due to double decref. 2008-03-17 08:13:16 +00:00
James Henstridge
14135c1d7e * NEWS: add some draft NEWS items for a 2.0.7 release. 2008-02-27 04:42:56 +00:00
Federico Di Gregorio
a23de80c6b Patchset copy_expert 1/5. 2007-05-29 08:13:40 +00:00
Federico Di Gregorio
d6e232e2b9 Various fixes, now all examples work. 2007-04-13 14:07:11 +00:00
Federico Di Gregorio
f57920b0dd Release 2.0.6b2. 2007-04-11 07:12:16 +00:00
Federico Di Gregorio
5642a68adb Encodings from Karsten. 2007-01-19 14:38:01 +00:00
Federico Di Gregorio
616a1c2042 Preparing 2.0.5.1. 2006-09-02 01:09:31 +00:00
Federico Di Gregorio
526fd62386 Preparing release 2.0.4. 2006-08-01 23:37:20 +00:00
Federico Di Gregorio
14805a5311 Preparing release 2.0.3. 2006-07-31 00:22:13 +00:00
Federico Di Gregorio
f3ef32d0e8 Preparing 2.0.2. 2006-06-11 05:14:33 +00:00
Federico Di Gregorio
caa9d0feb4 Preparing 2.0.1. 2006-06-09 00:08:47 +00:00
Federico Di Gregorio
2e2b4ad01a Small DA fixes. 2006-06-08 00:17:32 +00:00
Federico Di Gregorio
77398c759e Fixed handle leak on win32 and preparing 2.0 beta 8. 2006-02-11 11:01:17 +00:00
Federico Di Gregorio
5871596eda Some more tests in sandbox. 2006-01-10 16:13:37 +00:00
Federico Di Gregorio
83ea7e1f5b Preparing release 1.0.7. 2006-01-01 11:17:46 +00:00
Federico Di Gregorio
7db16edad3 Connection encoding case fix (closes: #83). 2006-01-01 09:10:17 +00:00
Federico Di Gregorio
4261bc3371 Slightly more readable setup.cfg. 2005-11-29 11:50:43 +00:00
Federico Di Gregorio
a6be5bf7bc Fixed problem in microseconds conversion (really this time.) 2005-11-20 05:01:13 +00:00
Federico Di Gregorio
3a34182307 Preparing release 2.0 beta 6. 2005-11-16 13:47:11 +00:00
Federico Di Gregorio
e727c49134 Converted typecast class to new-style and implemented much better compare method. 2005-11-03 18:28:04 +00:00
Federico Di Gregorio
0a73b75c51 SUSE addition to setup.cfg. 2005-10-25 16:00:49 +00:00
Federico Di Gregorio
ef3430d24f Implemented named cursors. 2005-10-22 06:59:31 +00:00
Federico Di Gregorio
49a255059e Releasing 2.0 beta 5. 2005-10-18 14:44:57 +00:00
Federico Di Gregorio
8d4607ebbd Releasing 2.0 beta 5. 2005-10-18 14:20:27 +00:00
Federico Di Gregorio
ec31179c9e NOTIFY works again. 2005-10-18 14:07:17 +00:00
Federico Di Gregorio
6b0b634bae Code cleanup. 2005-10-18 01:29:47 +00:00
Federico Di Gregorio
206aa79225 Working on TZ issues. 2005-10-17 15:01:14 +00:00
Federico Di Gregorio
5715a74388 Applied patches to fix docstrings. 2005-10-17 06:17:34 +00:00
Federico Di Gregorio
3e3084e4c6 Small changes and fixes for RC 1. 2005-08-07 02:20:46 +00:00
Federico Di Gregorio
5f00dc1100 Preparing release 2.0b4. 2005-07-17 04:08:08 +00:00
Federico Di Gregorio
5edfdc2a54 INTERVAL overflow fix. 2005-06-24 07:11:44 +00:00
Federico Di Gregorio
0c56bc95df Fixed connection parameters. 2005-06-13 04:25:09 +00:00
Federico Di Gregorio
5322b4e92f Fixed unicode query conversion segfault. 2005-05-31 01:55:02 +00:00
Federico Di Gregorio
b48085e2c5 About to release. 2005-05-26 07:36:01 +00:00
Federico Di Gregorio
635ab132c0 Preparing release 2.0b2. 2005-05-18 08:12:10 +00:00
Federico Di Gregorio
d57ceaadc6 Release 2.0 beta 1. 2005-05-09 09:48:40 +00:00
Federico Di Gregorio
8c2ac0658c Added error codes to messages. 2005-05-09 09:07:07 +00:00
Federico Di Gregorio
b1745ff139 Various fixes. 2005-05-09 08:54:32 +00:00
Federico Di Gregorio
19cb161d27 Array tokenization seems working. 2005-03-23 10:32:30 +00:00
Federico Di Gregorio
e8e6c0ada3 Preparing release 1.99.12. 2005-03-02 14:16:55 +00:00
Federico Di Gregorio
cd672525e1 Adaptation fixes (a lot.) 2005-02-28 15:50:55 +00:00
Federico Di Gregorio
1141149cd3 License changes. Fixes. Added register_adapter(). 2005-01-20 05:49:40 +00:00
Federico Di Gregorio
f6aaacd79b Lets release 1.99.11. 2004-12-14 05:12:56 +00:00
Federico Di Gregorio
1b74bb897f async fixes and better connection/cursor management. 2004-12-10 10:34:57 +00:00
Federico Di Gregorio
091270db2a Undo of wrong commit of 1.1.x source code over 2.x. 2004-10-29 16:15:45 +00:00
Federico Di Gregorio
c89f821126 SVN repo up to date (1.1.16pre1). 2004-10-29 16:08:31 +00:00
Federico Di Gregorio
c904d97f69 Initial psycopg 2 import after SVN crash. 2004-10-19 03:17:12 +00:00