diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-08-08 13:30:49 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-08-08 17:25:28 -0400 |
| commit | 03560c4b83308719067ec635662c35f9a437fb7f (patch) | |
| tree | 14ea8351c88834e08cd8c38ec62d879b1b8e226d /doc | |
| parent | 725298ea4bdd874990940ca93c406ccb533c732d (diff) | |
| download | sqlalchemy-03560c4b83308719067ec635662c35f9a437fb7f.tar.gz | |
Add quoted_name to pg8000 py_types
Fixed bug where the pg8000 driver would fail if using
:meth:`.MetaData.reflect` with a schema name, since the schema name would
be sent as a "quoted_name" object that's a string subclass, which pg8000
doesn't recognize. The quoted_name type is added to pg8000's
py_types collection on connect.
Change-Id: Id0f838320cb66563685e094e4eae2d5116100d27
Fixes: #4041
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/build/changelog/unreleased_12/4041.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_12/4041.rst b/doc/build/changelog/unreleased_12/4041.rst new file mode 100644 index 000000000..ebcb7236c --- /dev/null +++ b/doc/build/changelog/unreleased_12/4041.rst @@ -0,0 +1,9 @@ +.. change:: + :tags: bug, postgresql + :tickets: 4041 + + Fixed bug where the pg8000 driver would fail if using + :meth:`.MetaData.reflect` with a schema name, since the schema name would + be sent as a "quoted_name" object that's a string subclass, which pg8000 + doesn't recognize. The quoted_name type is added to pg8000's + py_types collection on connect. |
