diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-06-11 11:38:06 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-06-11 11:38:06 -0400 |
| commit | 27781263d93e4e35c8c39ed163fa827506cfb193 (patch) | |
| tree | 278daa25489ac452c8afa531935caf0a9ef3f22a /lib/sqlalchemy/dialects/postgresql/base.py | |
| parent | 4881873c6b80f168f498e8316711254cfa222cc8 (diff) | |
| download | sqlalchemy-27781263d93e4e35c8c39ed163fa827506cfb193.tar.gz | |
- Inspector hits bind.connect() when invoked to ensure
initialize has been called. the internal name ".conn"
is changed to ".bind", since that's what it is.
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index aa2048d4b..76d1122e8 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -556,7 +556,7 @@ class PGInspector(reflection.Inspector): def get_table_oid(self, table_name, schema=None): """Return the oid from `table_name` and `schema`.""" - return self.dialect.get_table_oid(self.conn, table_name, schema, + return self.dialect.get_table_oid(self.bind, table_name, schema, info_cache=self.info_cache) class CreateEnumType(schema._CreateDropBase): |
