diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-12-04 12:01:19 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-12-04 12:01:19 -0500 |
commit | 87bfcf91e9659893f17adf307090bc0a4a8a8f23 (patch) | |
tree | e36c7d4216ab1415f0b320ea581ab842ffd25726 /lib/sqlalchemy/sql/compiler.py | |
parent | 156f473de00024688404d73aea305cd4fc452638 (diff) | |
download | sqlalchemy-87bfcf91e9659893f17adf307090bc0a4a8a8f23.tar.gz |
- The :meth:`.PGDialect.has_table` method will now query against
``pg_catalog.pg_table_is_visible(c.oid)``, rather than testing
for an exact schema match, when the schema name is None; this
so that the method will also illustrate that temporary tables
are present. Note that this is a behavioral change, as Postgresql
allows a non-temporary table to silently overwrite an existing
temporary table of the same name, so this changes the behavior
of ``checkfirst`` in that unusual scenario.
fixes #3264
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions