summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/dml.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-08-12 15:09:37 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-10-21 14:20:24 -0400
commitd76cb7213557c24609a1a75d8c391aea0179562a (patch)
tree83ff13ecbcb17b779e839671fcc0567b4a85e028 /lib/sqlalchemy/dialects/postgresql/dml.py
parentbb9a55b6416fdd654e85f65b1cef4d86a416b43e (diff)
downloadsqlalchemy-d76cb7213557c24609a1a75d8c391aea0179562a.tar.gz
Implment encoding_errors for cx_oracle
Added dialect-level flag ``encoding_errors`` to the cx_Oracle dialect, which can be specified as part of :func:`.create_engine`. This is passed to SQLAlchemy's unicode decoding converter under Python 2, and to cx_Oracle's ``cursor.var()`` object as the ``encodingErrors`` parameter under Python 3, for the very unusual case that broken encodings are present in the target database which cannot be fetched unless error handling is relaxed. The value is ultimately one of the Python "encoding errors" parameters passed to ``decode()``. Closes: #4801 Fixes: #4799 Change-Id: I1d542ba367bcd187347c54db1fee815f7890e71c
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/dml.py')
0 files changed, 0 insertions, 0 deletions