diff options
| author | Sebastian Bank <sebastian.bank@uni-leipzig.de> | 2016-04-11 23:16:39 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2016-06-06 18:57:10 -0400 |
| commit | 824c8664ed18f115fc109c46cec0c25d223f8aad (patch) | |
| tree | df918426223781a53331974b8c2422e138e57bc7 /doc/build | |
| parent | a90b0101aaf616cddb8bc675f4a221fe7de6c420 (diff) | |
| download | sqlalchemy-824c8664ed18f115fc109c46cec0c25d223f8aad.tar.gz | |
Support normal /materialized views in PG separately
Fixes: #3588
Change-Id: Ifbfcab67375f289ddb5c4522f4b803cb8b7c34de
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/250
Diffstat (limited to 'doc/build')
| -rw-r--r-- | doc/build/changelog/changelog_11.rst | 9 | ||||
| -rw-r--r-- | doc/build/changelog/migration_11.rst | 15 |
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_11.rst b/doc/build/changelog/changelog_11.rst index 297be5d2d..637d212b1 100644 --- a/doc/build/changelog/changelog_11.rst +++ b/doc/build/changelog/changelog_11.rst @@ -31,6 +31,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 d9f48fcb1..723d07663 100644 --- a/doc/build/changelog/migration_11.rst +++ b/doc/build/changelog/migration_11.rst @@ -2090,6 +2090,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 -------------------------------- |
