]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- add a tl;dr to postgresql search_path section as it's long
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 6 May 2018 13:02:02 +0000 (09:02 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 6 May 2018 13:02:02 +0000 (09:02 -0400)
and will be easier to read if we know where it's going first.

Change-Id: I2766cf4655451ed514d4dc95ac60406b9f4a8ddb

lib/sqlalchemy/dialects/postgresql/base.py

index 0160239b753d7c08bde15de5daffcfe43662fd7b..c9270943b759f956b6942183ebed0fe1a41a74bb 100644 (file)
@@ -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