]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
commit 1b774808c926665047bf353222ecd191679a95d1
authorLele Gaifax <lele@metapensiero.it>
Mon, 31 Dec 2018 02:16:11 +0000 (21:16 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Dec 2018 02:24:38 +0000 (21:24 -0500)
Author: Lele Gaifax <lele@metapensiero.it>
Date:   Tue Dec 25 12:35:41 2018 +0100

    Consistently use "PostgreSQL", fixing also a few doc glitches

commit 0e382aaee4427193926f0dc10ad29056bc12c85e
Author: Lele Gaifax <lele@metapensiero.it>
Date:   Tue Dec 25 12:08:49 2018 +0100

    Remove duplicated words

Change-Id: Iaa586b9412f46a50fe6ff3bbb92e07d6cb1905c8
(cherry picked from commit c0f9708fde39175c8695fdd87873464f516fdf98)
(cherry picked from commit 7ec092063a7defe2b60d8f01b2eb3cda9dd28c90)
(cherry picked from commit 74838dda2f7e7bd66fc597fd3f7cee1d245beecb)

doc/build/changelog/changelog_10.rst
doc/build/orm/cascades.rst
doc/build/orm/persistence_techniques.rst
doc/build/orm/session_transaction.rst
lib/sqlalchemy/dialects/sqlite/base.py
lib/sqlalchemy/testing/plugin/plugin_base.py

index 1603960101e32371ff1157b2a0863ae8f71cc65a..51e9c36927417e10729d94372b58e2511802eaf3 100644 (file)
         ``_reset_exported()`` would corrupt the state of the object.  This
         method is intended for selectable objects and is called by the ORM
         in some cases; an erroneous mapper configuration would could lead the
-        ORM to call this on on a :class:`.Table` object.
+        ORM to call this on a :class:`.Table` object.
 
     .. change::
         :tags: bug, ext
         construct, when the target :class:`.Table` has Python-side defaults.
         The :class:`.Select` construct would compile standalone with the
         erroneous column present subsequent to compilation of the
-        :class:`.Insert`, and the the :class:`.Insert` statement itself would
+        :class:`.Insert`, and the :class:`.Insert` statement itself would
         fail on a second compile attempt due to duplicate bound parameters.
 
     .. change::
index 0a0f23a707871d52c96e5d66381fd7e2725bdf42..8886621ae9e587ec5c52c356f9f3c19355deeb15 100644 (file)
@@ -131,7 +131,7 @@ delete
 
 The ``delete`` cascade indicates that when a "parent" object
 is marked for deletion, its related "child" objects should also be marked
-for deletion.   If for example we we have a relationship ``User.addresses``
+for deletion.   If for example we have a relationship ``User.addresses``
 with ``delete`` cascade configured::
 
     class User(Base):
index b1746e0cc6678a8d74ca9ca69a3a178e5e664442..36863553d88c4c05e01435e2e1b9efa899149888 100644 (file)
@@ -240,7 +240,7 @@ outside of the database's usual autoincrement routine. In this case, we have to
 make sure SQLAlchemy can "pre-execute" the default, which means it has to be an
 explicit SQL expression.
 
-.. note::  This section will will illustrate multiple recipes involving
+.. note::  This section will illustrate multiple recipes involving
    datetime values for MySQL and SQLite, since the datetime datatypes on these
    two  backends have additional idiosyncratic requirements that are useful to
    illustrate.  Keep in mind however that SQLite and MySQL require an explicit
index 328aabfbf300f54cdc1853c789e6bacaeb909881..1b749088916337c5b3287207f25b1f39334b9f85 100644 (file)
@@ -150,7 +150,7 @@ methods are called.
 
 The :class:`.Session` also features an older legacy mode of use called
 **autocommit mode**, where a transaction is not started implicitly, and unless
-the the :meth:`.Session.begin` method is invoked, the :class:`.Session` will
+the :meth:`.Session.begin` method is invoked, the :class:`.Session` will
 perform each database operation on a new connection checked out from the
 connection pool, which is then released back to the pool immediately
 after the operation completes.  This refers to
index 77f45f2f15e363b11e37a73a49919979814c27f2..a4bd284be98f8a793dcdf237e8cfb92b86472932 100644 (file)
@@ -189,7 +189,7 @@ The other axis along which SQLite's transactional locking is impacted is
 via the nature of the ``BEGIN`` statement used.   The three varieties
 are "deferred", "immediate", and "exclusive", as described at
 `BEGIN TRANSACTION <http://sqlite.org/lang_transaction.html>`_.   A straight
-``BEGIN`` statement uses the "deferred" mode, where the the database file is
+``BEGIN`` statement uses the "deferred" mode, where the database file is
 not locked until the first read or write operation, and read access remains
 open to other transactions until the first write operation.  But again,
 it is critical to note that the pysqlite driver interferes with this behavior
index aeae944fe05d909ec896ec61e05e09fcd9b86dea..24b9670d1b19baf3ee3eadf171cf2df703256e6b 100644 (file)
@@ -66,7 +66,7 @@ def setup_options(make_option):
     make_option("--nomemory", action="store_true", dest="nomemory",
                 help="Don't run memory profiling tests")
     make_option("--postgresql-templatedb", type="string",
-                help="name of template database to use for Postgresql "
+                help="name of template database to use for PostgreSQL "
                      "CREATE DATABASE (defaults to current database)")
     make_option("--low-connections", action="store_true",
                 dest="low_connections",