psycopg2/tests
Daniele Varrazzo c8aef26e15 Adapt buffer objects using an explicit cast on the string literal.
Don't rely on Postgres casting the literal according to the context:
this doesn't work e.g. passing the object as function argument where a
function with the same name but taking a text exists. It doesn't work
either when the object is in an ARRAY construct.

Added test to check the type is respected in a complete Py -> PG -> Py
roundtrip without context.

Bug and solution reported by Peter Eisentraut.
2010-05-15 14:27:23 +01:00
..
__init__.py Dropped large object support when psycopg is in green mode. 2010-05-09 20:34:02 +01:00
bug_gc.py Added test for refcounting/gc bug reported by Michael Tharp 2010-04-08 18:42:20 +02:00
bugX000.py Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
dbapi20.py Added DBAPI 2.0 conformance tests in tests/. 2006-02-11 06:55:17 +00:00
extras_dictcursor.py Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
test_async.py Making sync and async connection setup somewhat more consistent. 2010-04-23 13:24:35 +01:00
test_connection.py Making sync and async connection setup somewhat more consistent. 2010-04-23 13:24:35 +01:00
test_copy.py Added some COPY tests. 2010-04-07 23:41:32 +01:00
test_dates.py Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
test_green.py Try to restore the connection state after a wait callback error. 2010-04-21 15:21:32 +01:00
test_lobject.py Support large objects truncating. 2010-03-29 09:19:35 +02:00
test_notify.py More lenient test timeout for a slow (or busy) machine. 2010-04-23 13:24:35 +01:00
test_psycopg2_dbapi20.py Removed unecessary import 2009-04-04 19:14:53 +02:00
test_quote.py 2008-04-21 James Henstridge <james@jamesh.id.au> 2008-04-20 23:19:42 +00:00
test_transaction.py Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00
types_basic.py Adapt buffer objects using an explicit cast on the string literal. 2010-05-15 14:27:23 +01:00
types_extras.py Changes license to LGPL3 + OpenSSL exception on all source files 2010-02-12 23:34:53 +01:00