summaryrefslogtreecommitdiff
path: root/doc/src/advanced.rst
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-04-21 12:42:25 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-04-21 15:21:33 +0100
commit8fed0aa57d588c3655423a3d25ece01662719836 (patch)
treed5c6ec1c41a7eb04dff6a483faf09d7c4a128f27 /doc/src/advanced.rst
parentc1f0d4d46cb1f177e5966ed2d8bba413410ec424 (diff)
downloadpsycopg2-8fed0aa57d588c3655423a3d25ece01662719836.tar.gz
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.
Diffstat (limited to 'doc/src/advanced.rst')
-rw-r--r--doc/src/advanced.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/src/advanced.rst b/doc/src/advanced.rst
index 13def38..a595ce5 100644
--- a/doc/src/advanced.rst
+++ b/doc/src/advanced.rst
@@ -429,6 +429,9 @@ callback (using `!select()` to block) is provided as
.. _SQLAlchemy: http://www.sqlalchemy.org/
.. __: http://www.postgresql.org/docs/8.4/static/libpq-async.html
+.. warning::
+ :ref:`COPY commands <copy>` are currently not supported when a wait callback
+ is registered, but they will be probably implemented in a future release.
.. testcode::