Daniele Varrazzo
73265e7ece
Refuse connection with server with protocol version 2.
...
This cuts off server whose version is older than 7.4. But enables us to
remove large portions of code rarely used and tested (e.g. p2 copy) and
will allow us to drop the query we do at each connection to establish
the client encoding and the datestyle.
2010-11-16 01:01:32 +00:00
Daniele Varrazzo
b9e96dbbd2
Added version info to Xid object docs.
2010-11-08 01:28:01 +00:00
Daniele Varrazzo
2f582da1f0
Notifcation example improved.
2010-11-08 01:28:00 +00:00
Daniele Varrazzo
4ea9dbdcf0
Typo fixed
2010-11-06 04:40:47 +00:00
Daniele Varrazzo
abad3127ca
Added NamedTupleCursor.
2010-11-06 04:33:44 +00:00
Daniele Varrazzo
5b65e75122
Docs expansions about thread/processes safety.
2010-11-05 23:58:10 +00:00
Daniele Varrazzo
04b4649d03
Updated version 2.2.3 -> 2.3 in the docs.
2010-11-05 12:38:49 +00:00
Daniele Varrazzo
56ae1fe4bf
Payload default is the empty string.
2010-11-05 09:34:52 +00:00
Daniele Varrazzo
01ec120aa8
Hstore documentation improved.
2010-11-05 09:34:52 +00:00
Daniele Varrazzo
4b98e8941f
Added some documentation for the hstore adaptation.
2010-11-05 09:34:52 +00:00
Daniele Varrazzo
90e0e2f47d
Added documentation for the Xid object.
2010-11-05 09:34:50 +00:00
Daniele Varrazzo
a923a16ae8
Added two-phase commit docunetation.
2010-11-05 09:34:49 +00:00
Daniele Varrazzo
1a0fca09d9
Added documentation for the Notify object.
2010-11-05 09:34:47 +00:00
Daniele Varrazzo
d9e49e940a
Fixed versionchanged note on fractional time zone.
2010-10-31 23:57:40 +00:00
Daniele Varrazzo
850cd97ab3
A few doc fixes.
2010-10-08 10:16:59 +01:00
Daniele Varrazzo
75a6f783c5
Added PostgreSQL 9.0 error codes.
2010-09-23 23:43:23 +01:00
Daniele Varrazzo
2081ceffde
Don't execute a ROLLBACK on close()/GC.
...
The command wasn't sent since 2.2.0 due to a bug, but after a ML
discussion this behaviour proved more correct so the bug has become a
feature.
2010-09-23 23:28:30 +01:00
Daniele Varrazzo
bf9e557a71
Fixed typo in docs.
2010-09-23 23:17:32 +01:00
Daniele Varrazzo
19ae49e79e
Refer to PostgreSQL 9.0 documentation.
2010-09-23 23:14:39 +01:00
Daniele Varrazzo
80ebb14df4
Use stable anchors to reference PostgreSQL docs.
2010-09-23 23:13:59 +01:00
Daniele Varrazzo
9b3aa290d2
Added missing import required by Sphinx 1.0.
2010-08-05 01:08:21 +01:00
Daniele Varrazzo
660b75c2f4
Typo fixed.
2010-08-04 23:26:52 +01:00
Federico Di Gregorio
557608f715
Applied spelling fixes patch from Peter Eisentraut
2010-07-18 12:14:46 +02:00
Daniele Varrazzo
4a78e4068b
Dropped register_tstz_w_secs() implementation.
...
The function is no-op now that the default type caster can deal with
seconds in the tz offset.
2010-05-20 02:18:04 +01:00
Daniele Varrazzo
305d86f38a
Handle time zones with seconds in the UTC offset.
...
The offset is rounded to the nearest minute.
2010-05-20 02:16:04 +01:00
Daniele Varrazzo
b04bf41f99
Fixed decimal to float recipe to avoid using FLOAT.
...
FLOAT seems not working with NULLs.
2010-05-15 14:27:24 +01:00
Daniele Varrazzo
e8c2a14362
Added typecasters for arrays of specific MX/Py time-related types.
2010-05-15 14:27:23 +01:00
Daniele Varrazzo
2020790ba1
Typo fixed.
2010-05-15 14:27:02 +01:00
Daniele Varrazzo
e29424a230
Dropped large object support when psycopg is in green mode.
...
Async mode and large object are not compatible, albeit I haven't found
an authoritative source yet.
2010-05-09 20:34:02 +01:00
Daniele Varrazzo
dab098c1cb
Cleaned up documentation for connection status constants.
...
Dropped reference to unused/internal states.
2010-04-23 13:28:49 +01:00
Daniele Varrazzo
d2d1160260
Documentation about coroutines support reviewed.
2010-04-23 13:20:56 +01:00
Daniele Varrazzo
8fed0aa57d
Forbid COPY-related methods in green mode.
...
With the current implementation, at best they would silently block. They
actually hang everything.
Implementation posponed after some refactoring of the polling system,
because it will be probably possible to provide an implementation for
'poll()' during COPY which is good for both async and green modes.
2010-04-21 15:21:33 +01:00
Daniele Varrazzo
a54932ee9c
Added documentation for the green features.
2010-04-21 15:21:32 +01:00
Daniele Varrazzo
02a28ff028
Notifications are automatically read after each query.
...
Added tests for basic notifications process.
2010-04-21 15:09:14 +01:00
Daniele Varrazzo
d8f4ed1a04
Fixed documentation and example for asynchronous notifications.
2010-04-21 15:09:13 +01:00
Daniele Varrazzo
6fecc36b7f
Connection method 'executing()' renamed to 'isexecuting()'.
2010-04-21 15:09:13 +01:00
Daniele Varrazzo
7ee09353ec
Connection method 'issync()' changed into the attribute 'async'.
2010-04-21 15:09:13 +01:00
Daniele Varrazzo
7cf52da969
Ensure to close the connections in the doctests to avoid deadlocks.
2010-04-21 15:09:13 +01:00
Daniele Varrazzo
ac6938a26a
Fixed async documentation after cursor.poll() dropped.
2010-04-21 15:09:13 +01:00
Daniele Varrazzo
b7327a349d
FAQs grouped in themes.
2010-04-21 15:09:13 +01:00
Daniele Varrazzo
431920b367
Added recipe to get Python floats from Postgres decimals in the FAQ.
2010-04-14 01:05:36 +01:00
Daniele Varrazzo
0ac4c8ac17
Typecasters section in the extensions doc reordered.
2010-04-14 00:41:03 +01:00
Daniele Varrazzo
d162c08cfa
PY* and MX* typecasters imported into the extensions module.
2010-04-14 00:27:28 +01:00
Daniele Varrazzo
54e9c89ea4
DECIMAL typecaster imported into the extensions module.
2010-04-14 00:20:16 +01:00
Daniele Varrazzo
6aaa50703e
Added documentation for the new asynchronous support.
2010-04-08 13:25:17 +01: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
Daniele Varrazzo
99620c1454
A bunch of typo fixed in the docs
2010-03-03 18:43:24 +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
b99f2d5f8e
Added a couple more questions to the FAQ
2010-02-22 19:38:47 +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
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
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
Daniele Varrazzo
12bd7bf7cc
Documentation generated in 'doc/html/' instead of 'doc/_build/html/'
2010-02-14 01:10:37 +00:00
Daniele Varrazzo
00805633b2
Added README to explain how to build the documentation.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
a313011a57
Added a bunch of versions update informations.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
e4d427aae6
Added documentation for 'Error.pgerror' and 'Error.pgcode' attributes.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
c72dc3af00
Added documentation for 'connection.reset()' method.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
a856f0724e
Use the module version as documentation version.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
ba1354502e
Added documentation for the errorcodes module.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
8246b28563
Removed files used by the Epydoc documentation.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
e11199c420
Dropped fixed point.
2010-02-14 00:39:49 +01:00
Daniele Varrazzo
b90f2925d0
Removed modules index from the doc front page.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
3789f8fb17
Added other info about tz module.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
6a4ff65b49
Added documentation for the extras module.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
ec68569e58
Dropped implementation details from the cursor documentation.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
e7d1d7ae1e
Just discovered how to put many objects in the same directive.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
53f3248976
Added example about how to deal with the cursor bad exception.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
885dbf6428
Cleanup in the usage file.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
0694b85e59
Added documentation about Unicode handling.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
9a6c4c4c93
Fixed repetition in exceptions docs.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
c8010cfd47
Big documentation cleanup.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
6ea6d48f5d
Added docutils SQL role.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
5491dd8db0
Added documentation to type casting objects.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
c176a9d075
Fixed jumbled COPY methods.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
6199ce5127
Fixed typo in example.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
5431890938
Added introductive section about sessions.
2010-02-14 00:39:48 +01:00
Daniele Varrazzo
10f1a5b57a
Added CSS style for TODO admonitions.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
5cb07685ca
Showing the points where Psycopg diverges from the DB API.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
5417d7153d
Added `extension
` directive to mark Psycopg extensions to the DB API.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
3e66529864
Uniform usage of DB API spelling.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
9955b2f32f
Using uppercase P when dealing with Psycopg - not the module.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
5c732ac2a3
Asynchronous queries marked as experimental.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
4708704f16
Added documentation about asynchronous notifications.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
ac6640fd9e
Completed documentation for the COPY-related methods.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
d081d533b9
A few index entries fixed.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
e0065bfbef
Added a bunch of index entries for the connection class.
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
a9b793a371
Added documentation for `connection.notices
`
2010-02-14 00:39:47 +01:00
Jonathan Ballet
1a7a12c833
Fixed some typos
2010-02-14 00:39:47 +01:00
Daniele Varrazzo
961b4eedc5
First iteration with the Sphinx module documentation.
2010-02-14 00:39:47 +01:00
Federico Di Gregorio
611606d532
Changes license to LGPL3 + OpenSSL exception on all source files
2010-02-12 23:34:53 +01:00
Daniele Varrazzo
99ce95b27e
Added a cursor subclass example.
2006-01-12 17:41:00 +00:00
Federico Di Gregorio
5871596eda
Some more tests in sandbox.
2006-01-10 16:13:37 +00:00
Federico Di Gregorio
3937ea3ece
Added aync.txt to distribution.
2005-11-29 12:01:46 +00:00
Federico Di Gregorio
41e423de1a
Added PEP 249 source (.txt).
2005-11-28 03:44:31 +00:00
Daniele Varrazzo
ad76b5ba3c
* psycopg/psycopgmodule.c: fixed exceptions refcount.
...
* fixed lots of doctrings and added Epydoc-generated docs support.
2005-11-26 07:47:48 +00:00
Federico Di Gregorio
b97b0b04de
extensions.rst is shaping up!
2005-11-19 11:23:18 +00:00
Federico Di Gregorio
d5f639cfd6
Start of extensions docs.
2005-10-19 12:54:51 +00:00
Federico Di Gregorio
b19922ebf3
Added explanation of how asynchronous queries work.
2004-11-20 03:18:42 +00:00
Federico Di Gregorio
c904d97f69
Initial psycopg 2 import after SVN crash.
2004-10-19 03:17:12 +00:00