summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2016-06-08 13:21:12 -0400
committerGerrit Code Review <gerrit2@ln3.zzzcomputing.com>2016-06-08 13:21:12 -0400
commit24d29a63b6a30d1f1cd4d1097c021be0302c7922 (patch)
treef02d6ed5665cec1906371d1f97bcb39f5a725b1a /doc
parentc99fc44e170be61696206872701ff75e4c8a3711 (diff)
parent824c8664ed18f115fc109c46cec0c25d223f8aad (diff)
downloadsqlalchemy-24d29a63b6a30d1f1cd4d1097c021be0302c7922.tar.gz
Merge "Support normal /materialized views in PG separately"
Diffstat (limited to 'doc')
-rw-r--r--doc/build/changelog/changelog_11.rst9
-rw-r--r--doc/build/changelog/migration_11.rst15
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst
index e1c8a654d..fe56c4cf3 100644
--- a/doc/build/changelog/changelog_11.rst
+++ b/doc/build/changelog/changelog_11.rst
@@ -61,6 +61,15 @@
batched. Pull request courtesy Tobias Sauerwein.
.. change::
+ :tags: feature, postgresql
+ :tickets: 3588
+
+ Added new parameter :paramref:`.PGInspector.get_view_names.include`,
+ allowing specification for what kinds of views should be returned.
+ Currently "plain" and "materialized" views are included. Pull
+ request courtesy Sebastian Bank.
+
+ .. change::
:tags: feature, mssql
The ``mssql_clustered`` flag available on :class:`.UniqueConstraint`,
diff --git a/doc/build/changelog/migration_11.rst b/doc/build/changelog/migration_11.rst
index c60b17af5..73483f3db 100644
--- a/doc/build/changelog/migration_11.rst
+++ b/doc/build/changelog/migration_11.rst
@@ -2167,6 +2167,21 @@ both within the method :meth:`.Inspector.get_check_constraints` as well
as within :class:`.Table` reflection within the :attr:`.Table.constraints`
collection.
+"Plain" and "Materialized" views can be inspected separately
+------------------------------------------------------------
+
+The new argument :paramref:`.PGInspector.get_view_names.include`
+allows specification of which sub-types of views should be returned::
+
+ from sqlalchemy import inspect
+ insp = inspect(engine)
+
+ plain_views = insp.get_view_names(include='plain')
+ all_views = insp.get_view_names(include=('plain', 'materialized'))
+
+:ticket:`3588`
+
+
Added tablespace option to Index
--------------------------------