mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
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. |
||
---|---|---|
.. | ||
__init__.py | ||
bug_gc.py | ||
bugX000.py | ||
dbapi20.py | ||
extras_dictcursor.py | ||
test_async.py | ||
test_connection.py | ||
test_copy.py | ||
test_dates.py | ||
test_green.py | ||
test_lobject.py | ||
test_notify.py | ||
test_psycopg2_dbapi20.py | ||
test_quote.py | ||
test_transaction.py | ||
types_basic.py | ||
types_extras.py |