diff options
Diffstat (limited to 'lib/sqlalchemy/dialects')
| -rw-r--r-- | lib/sqlalchemy/dialects/firebird/fdb.py | 6 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mssql/base.py | 7 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/base.py | 6 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/gaerdbms.py | 2 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/mysql/types.py | 9 | ||||
| -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 | ||||
| -rw-r--r-- | lib/sqlalchemy/dialects/sqlite/pysqlite.py | 6 |
11 files changed, 2 insertions, 63 deletions
diff --git a/lib/sqlalchemy/dialects/firebird/fdb.py b/lib/sqlalchemy/dialects/firebird/fdb.py index 04671bfc0..76647942b 100644 --- a/lib/sqlalchemy/dialects/firebird/fdb.py +++ b/lib/sqlalchemy/dialects/firebird/fdb.py @@ -14,8 +14,6 @@ fdb is a kinterbasdb compatible DBAPI for Firebird. - .. versionadded:: 0.8 - Support for the fdb Firebird driver. - .. versionchanged:: 0.9 - The fdb dialect is now the default dialect under the ``firebird://`` URL space, as ``fdb`` is now the official Python driver for Firebird. @@ -53,10 +51,6 @@ accept every argument that Kinterbasdb does. Please read the fdb and/or kinterbasdb DBAPI documentation in order to understand the implications of this flag. - .. versionadded:: 0.8.2 - ``retaining`` keyword argument specifying - transaction retaining behavior - in 0.8 it defaults to ``True`` - for backwards compatibility. - .. versionchanged:: 0.9.0 - the ``retaining`` flag defaults to ``False``. In 0.8 it defaulted to ``True``. diff --git a/lib/sqlalchemy/dialects/mssql/base.py b/lib/sqlalchemy/dialects/mssql/base.py index d98915c0f..2ad88e8b0 100644 --- a/lib/sqlalchemy/dialects/mssql/base.py +++ b/lib/sqlalchemy/dialects/mssql/base.py @@ -242,9 +242,6 @@ CREATE TABLE statement for this column will yield:: login VARCHAR(32) COLLATE Latin1_General_CI_AS NULL -.. versionadded:: 0.8 Character collations are now part of the base string - types. - LIMIT/OFFSET Support -------------------- @@ -543,8 +540,6 @@ names:: would render the index as ``CREATE INDEX my_index ON table (x) INCLUDE (y)`` -.. versionadded:: 0.8 - Index ordering ^^^^^^^^^^^^^^ @@ -554,8 +549,6 @@ Index ordering is available via functional expressions, such as:: would render the index as ``CREATE INDEX my_index ON table (x DESC)`` -.. versionadded:: 0.8 - .. seealso:: :ref:`schema_indexes_functional` diff --git a/lib/sqlalchemy/dialects/mysql/base.py b/lib/sqlalchemy/dialects/mysql/base.py index fdba7f532..f5305d7b1 100644 --- a/lib/sqlalchemy/dialects/mysql/base.py +++ b/lib/sqlalchemy/dialects/mysql/base.py @@ -306,9 +306,6 @@ into play when rendering table and column names as well as when reflecting existing database structures. The detection is entirely automatic and no special configuration is needed to use either quoting style. -.. versionchanged:: 0.6 detection of ANSI quoting style is entirely automatic, - there's no longer any end-user ``create_engine()`` options in this regard. - MySQL SQL Extensions -------------------- @@ -514,9 +511,6 @@ prefix length values for corresponding columns. MySQL only allows a length for a column of an index if it is for a CHAR, VARCHAR, TEXT, BINARY, VARBINARY and BLOB. -.. versionadded:: 0.8.2 ``mysql_length`` may now be specified as a dictionary - for use with composite indexes. - Index Prefixes ~~~~~~~~~~~~~~ diff --git a/lib/sqlalchemy/dialects/mysql/gaerdbms.py b/lib/sqlalchemy/dialects/mysql/gaerdbms.py index d26f9444f..fc7532ade 100644 --- a/lib/sqlalchemy/dialects/mysql/gaerdbms.py +++ b/lib/sqlalchemy/dialects/mysql/gaerdbms.py @@ -14,8 +14,6 @@ r""" This dialect is based primarily on the :mod:`.mysql.mysqldb` dialect with minimal changes. - .. versionadded:: 0.7.8 - .. deprecated:: 1.0 This dialect is **no longer necessary** for Google Cloud SQL; the MySQLdb dialect can be used directly. Cloud SQL now recommends creating connections via the diff --git a/lib/sqlalchemy/dialects/mysql/types.py b/lib/sqlalchemy/dialects/mysql/types.py index d498b6758..c697c317d 100644 --- a/lib/sqlalchemy/dialects/mysql/types.py +++ b/lib/sqlalchemy/dialects/mysql/types.py @@ -414,9 +414,6 @@ class TIME(sqltypes.TIME): be limited; current support includes MySQL Connector/Python. - .. versionadded:: 0.8 The MySQL-specific TIME - type as well as fractional seconds support. - """ super(TIME, self).__init__(timezone=timezone) self.fsp = fsp @@ -464,9 +461,6 @@ class TIMESTAMP(sqltypes.TIMESTAMP): be limited; current support includes MySQL Connector/Python. - .. versionadded:: 0.8.5 Added MySQL-specific :class:`.mysql.TIMESTAMP` - with fractional seconds support. - """ super(TIMESTAMP, self).__init__(timezone=timezone) self.fsp = fsp @@ -494,9 +488,6 @@ class DATETIME(sqltypes.DATETIME): be limited; current support includes MySQL Connector/Python. - .. versionadded:: 0.8.5 Added MySQL-specific :class:`.mysql.DATETIME` - with fractional seconds support. - """ super(DATETIME, self).__init__(timezone=timezone) self.fsp = fsp 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" diff --git a/lib/sqlalchemy/dialects/sqlite/pysqlite.py b/lib/sqlalchemy/dialects/sqlite/pysqlite.py index c84a73473..c914bbfd0 100644 --- a/lib/sqlalchemy/dialects/sqlite/pysqlite.py +++ b/lib/sqlalchemy/dialects/sqlite/pysqlite.py @@ -135,12 +135,6 @@ SQLAlchemy sets up pooling to work with Pysqlite's default behavior: necessary. The scheme also prevents a connection from being used again in a different thread and works best with SQLite's coarse-grained file locking. - .. versionchanged:: 0.7 - Default selection of :class:`.NullPool` for SQLite file-based databases. - Previous versions select :class:`.SingletonThreadPool` by - default for all SQLite databases. - - Using a Memory Database in Multiple Threads ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
