diff options
| author | mike bayer <mike_mp@zzzcomputing.com> | 2021-01-26 23:12:33 +0000 | 
|---|---|---|
| committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2021-01-26 23:12:33 +0000 | 
| commit | 25ee5a05df0daeb7dc7ba432172d6abc76ffab56 (patch) | |
| tree | fb43b3c6b282687dcefb9889b25a4fccff4f5cd9 /lib/sqlalchemy/dialects/postgresql/base.py | |
| parent | 4f82d5fd9acb770aaa8de37dfbd1295ff014d2ae (diff) | |
| parent | f04147d9490df68b1fe1bb53991062d82017f865 (diff) | |
| download | sqlalchemy-25ee5a05df0daeb7dc7ba432172d6abc76ffab56.tar.gz | |
Merge "Fix many spell glitches in docstrings and comments"
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
| -rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index fd258bc5a..08d7cd9e5 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -234,7 +234,7 @@ that will be implicitly referred towards when a particular table or other  object is referenced in a SQL statement.  As detailed in the next section  :ref:`postgresql_schema_reflection`, SQLAlchemy is generally organized around  the concept of keeping this variable at its default value of ``public``, -however, in order to have it set to any arbirary name or names when connections +however, in order to have it set to any arbitrary name or names when connections  are used automatically, the "SET SESSION search_path" command may be invoked  for all connections in a pool using the following event handler, as discussed  at :ref:`schema_set_default_connections`:: @@ -255,7 +255,7 @@ at :ref:`schema_set_default_connections`::  The reason the recipe is complicated by use of the ``.autocommit`` DBAPI  attribute is so that when the ``SET SESSION search_path`` directive is invoked, -it is invoked outside of the scope of any tranasction and therefore will not +it is invoked outside of the scope of any transaction and therefore will not  be reverted when the DBAPI connection has a rollback.  .. seealso:: @@ -1189,7 +1189,7 @@ Using JSON/JSONB with ARRAY  ^^^^^^^^^^^^^^^^^^^^^^^^^^^  Similar to using ENUM, prior to SQLAlchemy 1.3.17, for an ARRAY of JSON/JSONB -we need to render the appropriate CAST.   Current psycopg2 drivers accomodate +we need to render the appropriate CAST.   Current psycopg2 drivers accommodate  the result set correctly without any special steps.  .. versionchanged:: 1.3.17 The combination of JSON/JSONB and ARRAY is now @@ -2262,7 +2262,7 @@ class PGCompiler(compiler.SQLCompiler):      def fetch_clause(self, select, **kw):          # pg requires parens for non literal clauses. It's also required for          # bind parameters if a ::type casts is used by the driver (asyncpg), -        # so it's easies to just always add it +        # so it's easiest to just always add it          text = ""          if select._offset_clause is not None:              text += "\n OFFSET (%s) ROWS" % self.process(  | 
