diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-15 10:49:36 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-15 10:49:36 -0500 |
| commit | 885f15a306efc4c907ca82fa13871992ee556466 (patch) | |
| tree | b0a483144c7bffd479691dfcb47a7f45a666a619 /lib/sqlalchemy/dialects/postgresql | |
| parent | a7d6cb13ac96f2abc9366f5ed26fd91cd69ac7cd (diff) | |
| download | sqlalchemy-885f15a306efc4c907ca82fa13871992ee556466.tar.gz | |
Remove version directives for 0.6, 0.7, 0.8
- fix a few "seealso"s
- ComparableProprerty's "superseded in 0.7" becomes deprecated in 0.7
Backport to currently maintained doc versions 1.2, 1.1
Change-Id: Ib1fcb2df8673dbe5c4ffc47f3896a60d1dfcb4b2
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql')
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/array.py | 6 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/hstore.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2.py | 3 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/ranges.py | 14 |
5 files changed, 2 insertions, 27 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/array.py b/lib/sqlalchemy/dialects/postgresql/array.py index 20019b0f5..594cd3a0c 100644 --- a/lib/sqlalchemy/dialects/postgresql/array.py +++ b/lib/sqlalchemy/dialects/postgresql/array.py @@ -73,11 +73,9 @@ class array(expression.Tuple): array(['foo', 'bar'], type_=CHAR) - .. versionadded:: 0.8 Added the :class:`~.postgresql.array` literal type. - - See also: + .. seealso:: - :class:`.postgresql.ARRAY` + :class:`.postgresql.ARRAY` """ diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 76eec5a6c..f7b3e4cfc 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -1382,8 +1382,6 @@ class ENUM(sqltypes.NativeForEmulated, sqltypes.Enum): :meth:`~.postgresql.ENUM.drop` methods can be used to emit SQL to a target bind. - .. versionadded:: 0.7.4 - """ self.create_type = kw.pop("create_type", True) super(ENUM, self).__init__(*enums, **kw) diff --git a/lib/sqlalchemy/dialects/postgresql/hstore.py b/lib/sqlalchemy/dialects/postgresql/hstore.py index 2d19f33f8..745373f5d 100644 --- a/lib/sqlalchemy/dialects/postgresql/hstore.py +++ b/lib/sqlalchemy/dialects/postgresql/hstore.py @@ -126,8 +126,6 @@ class HSTORE(sqltypes.Indexable, sqltypes.Concatenable, sqltypes.TypeEngine): dictionary, unless that dictionary value is re-assigned to the HSTORE-attribute itself, thus generating a change event. - .. versionadded:: 0.8 - .. seealso:: :class:`.hstore` - render the PostgreSQL ``hstore()`` function. @@ -293,8 +291,6 @@ class hstore(sqlfunc.GenericFunction): ) ]) - .. versionadded:: 0.8 - .. seealso:: :class:`.HSTORE` - the PostgreSQL ``HSTORE`` datatype. diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index 12d866407..093900586 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -280,9 +280,6 @@ The psycopg2 dialect supports these constants for isolation level: * ``SERIALIZABLE`` * ``AUTOCOMMIT`` -.. versionadded:: 0.8.2 support for AUTOCOMMIT isolation level when using - psycopg2. - .. seealso:: :ref:`postgresql_isolation_level` diff --git a/lib/sqlalchemy/dialects/postgresql/ranges.py b/lib/sqlalchemy/dialects/postgresql/ranges.py index 37f1ac45d..3d20d7777 100644 --- a/lib/sqlalchemy/dialects/postgresql/ranges.py +++ b/lib/sqlalchemy/dialects/postgresql/ranges.py @@ -25,8 +25,6 @@ class RangeOperators(object): Table 9-45 of the postgres documentation. For these, the normal :func:`~sqlalchemy.sql.expression.func` object should be used. - .. versionadded:: 0.8.2 Support for PostgreSQL RANGE operations. - """ class comparator_factory(sqltypes.Concatenable.Comparator): @@ -105,8 +103,6 @@ class RangeOperators(object): class INT4RANGE(RangeOperators, sqltypes.TypeEngine): """Represent the PostgreSQL INT4RANGE type. - .. versionadded:: 0.8.2 - """ __visit_name__ = "INT4RANGE" @@ -118,8 +114,6 @@ ischema_names["int4range"] = INT4RANGE class INT8RANGE(RangeOperators, sqltypes.TypeEngine): """Represent the PostgreSQL INT8RANGE type. - .. versionadded:: 0.8.2 - """ __visit_name__ = "INT8RANGE" @@ -131,8 +125,6 @@ ischema_names["int8range"] = INT8RANGE class NUMRANGE(RangeOperators, sqltypes.TypeEngine): """Represent the PostgreSQL NUMRANGE type. - .. versionadded:: 0.8.2 - """ __visit_name__ = "NUMRANGE" @@ -144,8 +136,6 @@ ischema_names["numrange"] = NUMRANGE class DATERANGE(RangeOperators, sqltypes.TypeEngine): """Represent the PostgreSQL DATERANGE type. - .. versionadded:: 0.8.2 - """ __visit_name__ = "DATERANGE" @@ -157,8 +147,6 @@ ischema_names["daterange"] = DATERANGE class TSRANGE(RangeOperators, sqltypes.TypeEngine): """Represent the PostgreSQL TSRANGE type. - .. versionadded:: 0.8.2 - """ __visit_name__ = "TSRANGE" @@ -170,8 +158,6 @@ ischema_names["tsrange"] = TSRANGE class TSTZRANGE(RangeOperators, sqltypes.TypeEngine): """Represent the PostgreSQL TSTZRANGE type. - .. versionadded:: 0.8.2 - """ __visit_name__ = "TSTZRANGE" |
