summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2018-05-06 09:02:02 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2018-05-06 09:02:02 -0400
commit513a6e5bcea5dccabaf86166906233542a4669e7 (patch)
tree44855189dec91e498755c383d2015871e93ce394 /lib/sqlalchemy/dialects/postgresql/base.py
parent70f8f6a169daa3e4f25f2b6983ff4750443a8307 (diff)
downloadsqlalchemy-513a6e5bcea5dccabaf86166906233542a4669e7.tar.gz
- add a tl;dr to postgresql search_path section as it's long
and will be easier to read if we know where it's going first. Change-Id: I2766cf4655451ed514d4dc95ac60406b9f4a8ddb
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py
index 0160239b7..c9270943b 100644
--- a/lib/sqlalchemy/dialects/postgresql/base.py
+++ b/lib/sqlalchemy/dialects/postgresql/base.py
@@ -125,6 +125,9 @@ Valid values for ``isolation_level`` include:
Remote-Schema Table Introspection and PostgreSQL search_path
------------------------------------------------------------
+**TL;DR;**: keep the ``search_path`` variable set to its default of ``public``,
+name schemas **other** than ``public`` explicitly within ``Table`` defintitions.
+
The PostgreSQL dialect can reflect tables from any schema. The
:paramref:`.Table.schema` argument, or alternatively the
:paramref:`.MetaData.reflect.schema` argument determines which schema will