]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
changelog edits for 1.3.20
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 Oct 2020 22:22:01 +0000 (18:22 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 12 Oct 2020 22:22:01 +0000 (18:22 -0400)
Change-Id: Ic053a30e9f0e6c99b638a0629e1192336bff3f76

doc/build/changelog/unreleased_13/4392.rst
doc/build/changelog/unreleased_13/5462.rst
doc/build/changelog/unreleased_13/5539.rst
doc/build/changelog/unreleased_13/5541.rst
doc/build/changelog/unreleased_13/5582.rst
doc/build/changelog/unreleased_13/5618.rst
doc/build/changelog/unreleased_13/5635.rst
doc/build/changelog/unreleased_13/5644.rst
lib/sqlalchemy/dialects/postgresql/psycopg2.py

index ecb10ca25dd2629e28b9f6a4dd30fe7d9a511f55..7d42bf6922d0a2657843351e1d53ac978c9afc22 100644 (file)
@@ -1,7 +1,11 @@
 .. change::
-    :tags: engine, postgresql, usecase
+    :tags: postgresql, usecase
     :tickets: 4392
 
-    A :class:`.URL` connection now supports multiple hosts for PostgreSQL. Any
-    query that contains multiple hosts will now group the hosts as a string
-    instead of a tuple of strings. Pull request courtesy Ramon Williams.
+    The psycopg2 dialect now support PostgreSQL multiple host connections, by
+    passing host/port combinations to the query string. Pull request courtesy
+    Ramon Williams.
+
+    .. seealso::
+
+        :ref:`psycopg2_multi_host`
\ No newline at end of file
index 2832284ebf6fab1db457e77b427ac885a02b5333..f2c7517bd4d4f5681797c07a84673d1ab369cf90 100644 (file)
@@ -2,6 +2,5 @@
     :tags: mysql, usecase
     :tickets: 5462
 
-    Adjusted the :meth:`MySQLDDLCompiler.visit_create_index` to implement
-    indexing with expressions and functions on the MySQL dialect as accepted by
-    MySQL 8. Pull request courtesy Ramon Williams.
+    Adjusted the MySQL dialect to correctly parenthesize functional index
+    expressions as accepted by MySQL 8. Pull request courtesy Ramon Williams.
index 4010fca1f7a5bca6ad24de6b463b2a110bb7b0a2..3cb6b21286e114cf00a057ce5842bbaf2548ba85 100644 (file)
@@ -2,9 +2,6 @@
     :tags: change, mysql
     :tickets: 5539
 
-    Add new MySQL reserved words: `cube`, `lateral`.
-
-    Reference https://dev.mysql.com/doc/refman/8.0/en/keywords.html :
-
-    * CUBE (R); became reserved in 8.0.1
-    * LATERAL (R); added in 8.0.14 (reserved)
+    Add new MySQL reserved words: ``cube``, ``lateral`` added in MySQL 8.0.1
+    and 8.0.14, respectively; this indicates that these terms will be quoted if
+    used as table or column identifier names.
index 73bb4b69b8afe4b45014e7fdd244db56b2a5a571..f3cdee424d132add1f51dfc6860ab800a77c08ce 100644 (file)
@@ -2,7 +2,7 @@
     :tags: bug, ext, associationproxy
     :tickets: 5541, 5542
 
-    It's not possible right now to use an association proxy element as a plain
-    column expression to be SELECTed from or used in a SQL function.  An
-    informative error is now raised when this occurs.
+    An informative error is now raised when attempting to use an association
+    proxy element as a plain column expression to be SELECTed from or used in a
+    SQL function; this use case is not currently supported.
 
index dca8855d6174c4c06a91f47d9d23f56814756c24..9f8e2df383813d11c834973883d7a418eb065776 100644 (file)
@@ -2,8 +2,8 @@
     :tags: bug, pool
     :tickets: 5582
 
-    The following pool parameters were not being propagated to the new pool
-    created when :meth:`_engine.Engine.dispose` were called: ``pre_ping``,
-    ``use_lifo``.  Additionally the ``recycle`` and ``reset_on_return``
-    parameters were not propagated for the :class:`_engine.AssertionPool`
-    class.  These issues have been fixed.
+    Fixed issue where the following pool parameters were not being propagated
+    to the new pool created when :meth:`_engine.Engine.dispose` were called:
+    ``pre_ping``, ``use_lifo``.  Additionally the ``recycle`` and
+    ``reset_on_return`` parameter is now propagated for the
+    :class:`_engine.AssertionPool` class.
index ab4d16359dcb180d22fd6adf85070fd0ed92baed..93960201b8a0d5d2b28c2edd528e1e383d240b97 100644 (file)
@@ -2,7 +2,8 @@
     :tags: bug, sql
     :tickets: 5618
 
-    Fixed bug where an error was not raised for lower-case :func:`_sql.column`
-    added to lower-case :func:`_sql.table` object. This now raises
-    :class:`_exc.ArgumentError` which has always been the case for upper-case
-    :class:`_schema.Column` and :class:`_schema.Table`.
\ No newline at end of file
+    Fixed bug where an error was not raised in the case where a
+    :func:`_sql.column` were added to more than one :func:`_sql.table` at a
+    time.  This raised correctly for the :class:`_schema.Column` and
+    :class:`_schema.Table` objects. An :class:`_exc.ArgumentError` is now
+    raised when this occurs.
\ No newline at end of file
index 08507c4da7fff4790086a9e1f62584250186ea41..90350a76001f603441a7681615da52b2a4b55cf5 100644 (file)
@@ -2,6 +2,5 @@
     :tags: bug, tests
     :tickets: 5635
 
-    Fixed incompatibilities in the test suite that prevented the tests from
-    working with Pytest 6.x.
+    Fixed incompatibilities in the test suite when running against Pytest 6.x.
 
index d0e20492b81d03c0501baf09ebb5961a251c0bec..f9218489b0f2de4657cb85d3a78f3b488d1b592d 100644 (file)
@@ -2,5 +2,5 @@
     :tags: bug, sql
     :tickets: 5644
 
-    Fixed issue where a plain pickle dumps call of the :class:`_sql.Over`
-    construct didn't work.
+    Fixed issue where the ``pickle.dumps()`` operation against
+    :class:`_expression.Over` construct would produce a recursion overflow.
index 3f1e12dcc72f40ee76a829a04523baa52c31652a..f7e8bd45f86a09c720a5b7b786b5dfc91cea0a28 100644 (file)
@@ -71,7 +71,9 @@ using ``host`` as an additional keyword argument::
     `PQconnectdbParams \
     <http://www.postgresql.org/docs/9.1/static/libpq-connect.html#LIBPQ-PQCONNECTDBPARAMS>`_
 
-Multiple Hosts in Connection String
+.. _psycopg2_multi_host:
+
+Specfiying mutiple fallback hosts
 ------------------------------------
 
 psycopg2 supports multiple connection points in the connection string.