Commit Graph

821 Commits

Author SHA1 Message Date
Jan Urbański
1f6ffbba0f Block and clear the result of asynchronous queries where necessary
Remove the big loop in pq_fetch with the select() call, among
others. Code paths that don't support asynchronous queries should now
be adequately guarded.
2010-04-05 11:28:20 +02:00
Federico Di Gregorio
3d2c315049 Checks for pointers should be explicit, i.e., (ptr != NULL) 2010-04-05 11:27:34 +02:00
Jan Urbański
cc37fd1ea9 Add curs_get_last_result, a function to get the last result from a connection 2010-04-05 11:24:57 +02:00
Jan Urbański
75a0299a48 Add pq_flush, a function to flush the output buffer 2010-04-05 11:07:53 +02:00
Federico Di Gregorio
3f2c1f6489 /me does not like empty for loops 2010-04-05 11:07:19 +02:00
Jan Urbański
53748443d8 Make pq_clear_async clear the whole pending result and export it 2010-04-05 11:01:44 +02:00
Jan Urbański
e0d789466a Support large objects truncating.
The lobject.truncate(len=0) method will be available if psycopg2 has
been built against libpq from 8.3 or later (which is when the lobject
truncating support has been introduced).
2010-03-29 09:19:35 +02:00
Federico Di Gregorio
0edd520593 Preparing release 2.0.14 (final) 2010-03-13 21:15:50 +01:00
Federico Di Gregorio
b5373bd90a Merge remote branch 'piro/python2' into python2 2010-03-12 17:37:04 +01:00
Federico Di Gregorio
21a6a64fd1 Changed setup.py to detect PostgreSQL "alpha" versions 2010-03-11 22:42:00 +01:00
Daniele Varrazzo
99620c1454 A bunch of typo fixed in the docs 2010-03-03 18:43:24 +01:00
Federico Di Gregorio
855674faf1 Fixed Python 2.4 segfault related to decimal implementation 2010-02-28 20:52:03 +01:00
Daniele Varrazzo
17a4cc9f67 All the docs todo points dropped: todo list removed. 2010-02-26 01:10:15 +00:00
Daniele Varrazzo
140e6ad4f2 Added notes about stuff changed in ver. 2.0.14. 2010-02-26 01:09:08 +00:00
Daniele Varrazzo
97ced0d4f1 Use the default role for cross referencing Python objects. 2010-02-26 00:49:19 +00:00
Daniele Varrazzo
4412826556 Added documentation for the 'pool' module. 2010-02-26 00:46:23 +00:00
Federico Di Gregorio
3636bc4201 Release candidate 1 2010-02-22 19:45:48 +01:00
Federico Di Gregorio
b99f2d5f8e Added a couple more questions to the FAQ 2010-02-22 19:38:47 +01:00
Federico Di Gregorio
6733c64412 Varrazzo has two "r"! 2010-02-22 09:09:44 +01:00
Federico Di Gregorio
1b3e16e6fe MANIFEST.in does not prune docs/html/_sources anymore 2010-02-22 09:06:28 +01:00
Federico Di Gregorio
b46035c222 Merge remote branch 'remotes/piro/python2' into python2 2010-02-22 09:05:40 +01:00
Federico Di Gregorio
fd6d3185b4 Preparing release 2.0.14 2010-02-21 01:26:43 +01:00
Federico Di Gregorio
4712ad1550 Added documentation to project 2010-02-21 01:09:40 +01:00
Federico Di Gregorio
192034dc38 Fixed problem with decimal.Decimal conversions 2010-02-21 01:04:00 +01:00
Daniele Varrazzo
50f5daef8b Added FAQ section to the documentation. 2010-02-18 04:12:49 +00:00
Daniele Varrazzo
29feed31b6 Cleaned up parameters style from the docs. 2010-02-18 04:12:46 +00:00
Daniele Varrazzo
a320f25a2a Completed documentation for errorcodes module. 2010-02-16 00:38:44 +00:00
Daniele Varrazzo
96b7912bcf Typo fixed in DictRow doc. 2010-02-16 00:38:15 +00:00
Daniele Varrazzo
8001795b95 More uniform titles style in docs index. 2010-02-16 00:37:47 +00:00
Daniele Varrazzo
491bbb111c Fixed code block. 2010-02-16 00:37:17 +00:00
Daniele Varrazzo
289ab1cd8d Binary adapter imported from the correct module. 2010-02-16 00:36:59 +00:00
Daniele Varrazzo
c72fbf0b0f Fixed example (with doctest) for Inet 2010-02-16 00:36:48 +00:00
Daniele Varrazzo
9ba6102f66 Added documentation for database large objects. 2010-02-16 00:36:32 +00:00
Daniele Varrazzo
d08d9ab199 Added errorcodes.lookup() function. 2010-02-15 01:38:49 +00:00
Daniele Varrazzo
3da7a33ffb Added script to update the errorcodes module. 2010-02-15 01:12:13 +00:00
Daniele Varrazzo
bcfdbd1903 Error codes updated to include all errors between PostgreSQL 8.1 and 8.4. 2010-02-15 01:07:28 +00:00
Daniele Varrazzo
be30f43181 Inet adapter fixed. 2010-02-14 20:14:17 +00:00
Daniele Varrazzo
cf3b7e7e50 Whitespace fixed 2010-02-14 19:45:22 +00:00
Daniele Varrazzo
c167a6f07f Manifest contains both rendered and source documentation. 2010-02-14 16:45:36 +00:00
Daniele Varrazzo
b744c92f58 Documentation dir reordered. 2010-02-14 16:45:36 +00:00
Daniele Varrazzo
620f77cb77 Generate text documentation in a single file. 2010-02-14 16:45:31 +00:00
Daniele Varrazzo
a1fa06e6d8 Drop table moved off the example. 2010-02-14 13:23:05 +00:00
Daniele Varrazzo
f134bceb00 Added function to drop a test table in the doctest. 2010-02-14 13:23:05 +00:00
Daniele Varrazzo
a54336f7b4 Docs cleaned up while still being testable. 2010-02-14 13:23:05 +00:00
Daniele Varrazzo
47809c338f Added 'make check' target to docs. 2010-02-14 13:23:05 +00:00
Daniele Varrazzo
edc690e60a Index and targets for subclassing work again. 2010-02-14 13:23:04 +00:00
Jonathan Ballet
323340abc6 The documentation is now mostly doctest-able 2010-02-14 13:23:04 +00:00
Federico Di Gregorio
67de65040c Fixed license in trove categories 2010-02-14 13:35:49 +01:00
Daniele Varrazzo
12bd7bf7cc Documentation generated in 'doc/html/' instead of 'doc/_build/html/' 2010-02-14 01:10:37 +00:00
Federico Di Gregorio
1a3e231e51 License change for psycopg2da
LGPL3+ZPL is fine for me, thanks.

Fabio
2010-02-14 01:23:57 +01:00