diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-11-23 09:14:02 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-11-23 10:31:56 -0500 |
commit | 55ad10370f9eb50795e136aac595193168982e92 (patch) | |
tree | 2571e7b7d844dec8cb22cf475188e3ec65cb3184 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 868e98bf407175b016e9e5cbc95bcf0cc859362a (diff) | |
download | sqlalchemy-55ad10370f9eb50795e136aac595193168982e92.tar.gz |
Add _extend_on deduplicating set for metadata.reflect()
The "extend_existing" option of :class:`.Table` reflection would
cause indexes and constraints to be doubled up in the case that the parameter
were used with :meth:`.MetaData.reflect` (as the automap extension does)
due to tables being reflected both within the foreign key path as well
as directly. A new de-duplicating set is passed through within the
:meth:`.MetaData.reflect` sequence to prevent double reflection in this
way.
Change-Id: Ibf6650c1e76a44ccbe15765fd79df2fa53d6bac7
Fixes: #3861
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
0 files changed, 0 insertions, 0 deletions