]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Repair PGInspector
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 31 Mar 2021 15:48:22 +0000 (11:48 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 31 Mar 2021 15:50:26 +0000 (11:50 -0400)
commita92942a5313c323afc027f69ed3a92cfe818cf76
tree43b71bd172ab756cd0f1de69e1e91b4af09517db
parent42185a1f3866bfc8ebffa2a6c724face8a2db5dc
Repair PGInspector

Fixed issue where the PostgreSQL :class:`.PGInspector`, when generated
against an :class:`_engine.Engine`, would fail for ``.get_enums()``,
``.get_view_names()``, ``.get_foreign_table_names()`` and
``.get_table_oid()`` when used against a "future" style engine and not the
connection directly.

Fixes: #6170
Change-Id: I8c3abdfb758305c2f7a96002d3644729f29c998b
doc/build/changelog/unreleased_14/6170.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_reflection.py