diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2023-04-12 23:41:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2023-04-12 23:41:19 +0000 |
commit | b066c45dc491716a4e34bdeb9a9726bcbc136fb5 (patch) | |
tree | ae40a051b41f73d3587cb1f2785c85e810e89dc7 /lib/sqlalchemy/dialects/postgresql/base.py | |
parent | 53be3fc70a44d34fda1ffddcf9d67473d3de50b4 (diff) | |
parent | ee7e49964fcf13ed0f5a3541b81f00302a9db29a (diff) | |
download | sqlalchemy-b066c45dc491716a4e34bdeb9a9726bcbc136fb5.tar.gz |
Merge "Remove old versionadded and versionchanged" into main
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 4d299b918..1ce5600e1 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -551,8 +551,6 @@ and :meth:`~.postgresql.Insert.on_conflict_do_nothing`: {printsql}INSERT INTO my_table (id, data) VALUES (%(id)s, %(data)s) ON CONFLICT ON CONSTRAINT pk_my_table DO UPDATE SET data = %(param_1)s -.. versionadded:: 1.1 - .. seealso:: `INSERT .. ON CONFLICT @@ -1021,16 +1019,12 @@ keyword argument:: Index('my_index', my_table.c.data, postgresql_with={"fillfactor": 50}) -.. versionadded:: 1.0.6 - PostgreSQL allows to define the tablespace in which to create the index. The tablespace can be specified on :class:`.Index` using the ``postgresql_tablespace`` keyword argument:: Index('my_index', my_table.c.data, postgresql_tablespace='my_tablespace') -.. versionadded:: 1.1 - Note that the same option is available on :class:`_schema.Table` as well. .. _postgresql_index_concurrently: @@ -1055,11 +1049,6 @@ a connection-less dialect, it will emit:: DROP INDEX CONCURRENTLY test_idx1 -.. versionadded:: 1.1 support for CONCURRENTLY on DROP INDEX. The - CONCURRENTLY keyword is now only emitted if a high enough version - of PostgreSQL is detected on the connection (or for a connection-less - dialect). - When using CONCURRENTLY, the PostgreSQL database requires that the statement be invoked outside of a transaction block. The Python DBAPI enforces that even for a single statement, a transaction is present, so to use this @@ -1098,14 +1087,6 @@ in :attr:`_schema.Table.indexes` when it is detected as mirroring a :class:`.UniqueConstraint` in the :attr:`_schema.Table.constraints` collection . -.. versionchanged:: 1.0.0 - :class:`_schema.Table` reflection now includes - :class:`.UniqueConstraint` objects present in the - :attr:`_schema.Table.constraints` - collection; the PostgreSQL backend will no longer include a "mirrored" - :class:`.Index` construct in :attr:`_schema.Table.indexes` - if it is detected - as corresponding to a unique constraint. - Special Reflection Options -------------------------- @@ -1155,8 +1136,6 @@ dialect in conjunction with the :class:`_schema.Table` construct: Table("some_table", metadata, ..., postgresql_inherits=("t1", "t2", ...)) - .. versionadded:: 1.0.0 - * ``PARTITION BY``:: Table("some_table", metadata, ..., @@ -2785,8 +2764,6 @@ class PGInspector(reflection.Inspector): (typically 'public') is used. May also be set to ``'*'`` to indicate load enums for all schemas. - .. versionadded:: 1.0.0 - """ with self._operation_context() as conn: return self.dialect._load_enums( @@ -2803,8 +2780,6 @@ class PGInspector(reflection.Inspector): except that the list is limited to those tables that report a ``relkind`` value of ``f``. - .. versionadded:: 1.0.0 - """ with self._operation_context() as conn: return self.dialect._get_foreign_table_names( |