diff options
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql')
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/__init__.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/array.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/asyncpg.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/base.py | 20 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/dml.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/ext.py | 4 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/hstore.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/json.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/pg8000.py | 2 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2.py | 10 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py | 4 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/pygresql.py | 4 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/pypostgresql.py | 4 | ||||
-rw-r--r-- | lib/sqlalchemy/dialects/postgresql/ranges.py | 4 |
14 files changed, 32 insertions, 32 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/__init__.py b/lib/sqlalchemy/dialects/postgresql/__init__.py index 108e27c8f..0de84e579 100644 --- a/lib/sqlalchemy/dialects/postgresql/__init__.py +++ b/lib/sqlalchemy/dialects/postgresql/__init__.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php from . import base from . import pg8000 # noqa from . import psycopg2 # noqa diff --git a/lib/sqlalchemy/dialects/postgresql/array.py b/lib/sqlalchemy/dialects/postgresql/array.py index c2d99845f..d8e54ae0c 100644 --- a/lib/sqlalchemy/dialects/postgresql/array.py +++ b/lib/sqlalchemy/dialects/postgresql/array.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php import re diff --git a/lib/sqlalchemy/dialects/postgresql/asyncpg.py b/lib/sqlalchemy/dialects/postgresql/asyncpg.py index 4a191cd28..825558f26 100644 --- a/lib/sqlalchemy/dialects/postgresql/asyncpg.py +++ b/lib/sqlalchemy/dialects/postgresql/asyncpg.py @@ -3,7 +3,7 @@ # file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php r""" .. dialect:: postgresql+asyncpg :name: asyncpg diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py index 4c654a643..ea2eda902 100644 --- a/lib/sqlalchemy/dialects/postgresql/base.py +++ b/lib/sqlalchemy/dialects/postgresql/base.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php r""" .. dialect:: postgresql @@ -288,7 +288,7 @@ via foreign key constraint, a decision must be made as to how the ``.schema`` is represented in those remote tables, in the case where that remote schema name is also a member of the current `PostgreSQL search path -<http://www.postgresql.org/docs/current/static/ddl-schemas.html#DDL-SCHEMAS-PATH>`_. +<https://www.postgresql.org/docs/current/static/ddl-schemas.html#DDL-SCHEMAS-PATH>`_. By default, the PostgreSQL dialect mimics the behavior encouraged by PostgreSQL's own ``pg_get_constraintdef()`` builtin procedure. This function @@ -409,7 +409,7 @@ which is in the ``public`` (i.e. default) schema will always have the .. seealso:: `The Schema Search Path - <http://www.postgresql.org/docs/9.0/static/ddl-schemas.html#DDL-SCHEMAS-PATH>`_ + <https://www.postgresql.org/docs/9.0/static/ddl-schemas.html#DDL-SCHEMAS-PATH>`_ - on the PostgreSQL website. INSERT/UPDATE...RETURNING @@ -486,7 +486,7 @@ and :meth:`~.postgresql.Insert.on_conflict_do_nothing`: .. seealso:: `INSERT .. ON CONFLICT - <http://www.postgresql.org/docs/current/static/sql-insert.html#SQL-ON-CONFLICT>`_ + <https://www.postgresql.org/docs/current/static/sql-insert.html#SQL-ON-CONFLICT>`_ - in the PostgreSQL documentation. Specifying the Target @@ -830,7 +830,7 @@ Operator Classes PostgreSQL allows the specification of an *operator class* for each column of an index (see -http://www.postgresql.org/docs/8.3/interactive/indexes-opclass.html). +https://www.postgresql.org/docs/8.3/interactive/indexes-opclass.html). The :class:`.Index` construct allows these to be specified via the ``postgresql_ops`` keyword argument:: @@ -872,7 +872,7 @@ Index Types PostgreSQL provides several index types: B-Tree, Hash, GiST, and GIN, as well as the ability for users to create their own (see -http://www.postgresql.org/docs/8.3/static/indexes-types.html). These can be +https://www.postgresql.org/docs/8.3/static/indexes-types.html). These can be specified on :class:`.Index` using the ``postgresql_using`` keyword argument:: Index('my_index', my_table.c.data, postgresql_using='gin') @@ -1039,7 +1039,7 @@ dialect in conjunction with the :class:`_schema.Table` construct: .. seealso:: `PostgreSQL CREATE TABLE options - <http://www.postgresql.org/docs/current/static/sql-createtable.html>`_ + <https://www.postgresql.org/docs/current/static/sql-createtable.html>`_ .. _postgresql_table_valued_overview: @@ -3185,7 +3185,7 @@ class PGDialect(default.DefaultDialect): # psycopg2, others may have placed ENUM here as well self.colspecs.pop(ENUM, None) - # http://www.postgresql.org/docs/9.3/static/release-9-2.html#AEN116689 + # https://www.postgresql.org/docs/9.3/static/release-9-2.html#AEN116689 self.supports_smallserial = self.server_version_info >= (9, 2) if self.server_version_info < (8, 2): @@ -3942,7 +3942,7 @@ class PGDialect(default.DefaultDialect): n.oid = c.relnamespace ORDER BY 1 """ - # http://www.postgresql.org/docs/9.0/static/sql-createtable.html + # https://www.postgresql.org/docs/9.0/static/sql-createtable.html FK_REGEX = re.compile( r"FOREIGN KEY \((.*?)\) REFERENCES (?:(.*?)\.)?(.*?)\((.*?)\)" r"[\s]?(MATCH (FULL|PARTIAL|SIMPLE)+)?" @@ -4031,7 +4031,7 @@ class PGDialect(default.DefaultDialect): def _pg_index_any(self, col, compare_to): if self.server_version_info < (8, 1): - # http://www.postgresql.org/message-id/10279.1124395722@sss.pgh.pa.us + # https://www.postgresql.org/message-id/10279.1124395722@sss.pgh.pa.us # "In CVS tip you could replace this with "attnum = ANY (indkey)". # Unfortunately, most array support doesn't work on int2vector in # pre-8.1 releases, so I think you're kinda stuck with the above diff --git a/lib/sqlalchemy/dialects/postgresql/dml.py b/lib/sqlalchemy/dialects/postgresql/dml.py index c98bc9f76..bb6345cf4 100644 --- a/lib/sqlalchemy/dialects/postgresql/dml.py +++ b/lib/sqlalchemy/dialects/postgresql/dml.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php from . import ext from ... import util diff --git a/lib/sqlalchemy/dialects/postgresql/ext.py b/lib/sqlalchemy/dialects/postgresql/ext.py index 959e6597b..f9e4c1d6c 100644 --- a/lib/sqlalchemy/dialects/postgresql/ext.py +++ b/lib/sqlalchemy/dialects/postgresql/ext.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php from .array import ARRAY from ... import util @@ -92,7 +92,7 @@ class ExcludeConstraint(ColumnCollectionConstraint): Defines an EXCLUDE constraint as described in the `PostgreSQL documentation`__. - __ http://www.postgresql.org/docs/9.0/static/sql-createtable.html#SQL-CREATETABLE-EXCLUDE + __ https://www.postgresql.org/docs/9.0/static/sql-createtable.html#SQL-CREATETABLE-EXCLUDE """ # noqa diff --git a/lib/sqlalchemy/dialects/postgresql/hstore.py b/lib/sqlalchemy/dialects/postgresql/hstore.py index cfd94b9b3..30e2d4bc2 100644 --- a/lib/sqlalchemy/dialects/postgresql/hstore.py +++ b/lib/sqlalchemy/dialects/postgresql/hstore.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php import re diff --git a/lib/sqlalchemy/dialects/postgresql/json.py b/lib/sqlalchemy/dialects/postgresql/json.py index 1b165630c..2277d3cbe 100644 --- a/lib/sqlalchemy/dialects/postgresql/json.py +++ b/lib/sqlalchemy/dialects/postgresql/json.py @@ -3,7 +3,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php from __future__ import absolute_import from ... import types as sqltypes diff --git a/lib/sqlalchemy/dialects/postgresql/pg8000.py b/lib/sqlalchemy/dialects/postgresql/pg8000.py index 7230c2ce2..3d1051b7d 100644 --- a/lib/sqlalchemy/dialects/postgresql/pg8000.py +++ b/lib/sqlalchemy/dialects/postgresql/pg8000.py @@ -3,7 +3,7 @@ # file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php r""" .. dialect:: postgresql+pg8000 :name: pg8000 diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index 19ca14265..e28c01f11 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -3,13 +3,13 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php r""" .. dialect:: postgresql+psycopg2 :name: psycopg2 :dbapi: psycopg2 :connectstring: postgresql+psycopg2://user:password@host:port/dbname[?key=value&key=value...] - :url: http://pypi.python.org/pypi/psycopg2/ + :url: https://pypi.org/project/psycopg2/ psycopg2 Connect Arguments -------------------------- @@ -110,7 +110,7 @@ using ``host`` as an additional keyword argument:: .. seealso:: `PQconnectdbParams \ - <http://www.postgresql.org/docs/9.1/static/libpq-connect.html#LIBPQ-PQCONNECTDBPARAMS>`_ + <https://www.postgresql.org/docs/9.1/static/libpq-connect.html#LIBPQ-PQCONNECTDBPARAMS>`_ .. _psycopg2_multi_host: @@ -202,7 +202,7 @@ Psycopg2 Fast Execution Helpers Modern versions of psycopg2 include a feature known as `Fast Execution Helpers \ -<http://initd.org/psycopg/docs/extras.html#fast-execution-helpers>`_, which +<https://initd.org/psycopg/docs/extras.html#fast-execution-helpers>`_, which have been shown in benchmarking to improve psycopg2's executemany() performance, primarily with INSERT statements, by multiple orders of magnitude. SQLAlchemy internally makes use of these extensions for ``executemany()`` style @@ -596,7 +596,7 @@ class PGExecutionContext_psycopg2(PGExecutionContext): def create_server_side_cursor(self): # use server-side cursors: - # http://lists.initd.org/pipermail/psycopg/2007-January/005251.html + # https://lists.initd.org/pipermail/psycopg/2007-January/005251.html ident = "c_%s_%s" % (hex(id(self))[2:], hex(_server_side_id())[2:]) return self._dbapi_connection.cursor(ident) diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py b/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py index 780244be9..5be52a870 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2cffi.py @@ -3,13 +3,13 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php r""" .. dialect:: postgresql+psycopg2cffi :name: psycopg2cffi :dbapi: psycopg2cffi :connectstring: postgresql+psycopg2cffi://user:password@host:port/dbname[?key=value&key=value...] - :url: http://pypi.python.org/pypi/psycopg2cffi/ + :url: https://pypi.org/project/psycopg2cffi/ ``psycopg2cffi`` is an adaptation of ``psycopg2``, using CFFI for the C layer. This makes it suitable for use in e.g. PyPy. Documentation diff --git a/lib/sqlalchemy/dialects/postgresql/pygresql.py b/lib/sqlalchemy/dialects/postgresql/pygresql.py index 718bbf78f..42ef3c31e 100644 --- a/lib/sqlalchemy/dialects/postgresql/pygresql.py +++ b/lib/sqlalchemy/dialects/postgresql/pygresql.py @@ -3,13 +3,13 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php """ .. dialect:: postgresql+pygresql :name: pygresql :dbapi: pgdb :connectstring: postgresql+pygresql://user:password@host:port/dbname[?key=value&key=value...] - :url: http://www.pygresql.org/ + :url: https://www.pygresql.org/ .. note:: diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py index 7d4783867..1d646df44 100644 --- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py +++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py @@ -3,13 +3,13 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php """ .. dialect:: postgresql+pypostgresql :name: py-postgresql :dbapi: pypostgresql :connectstring: postgresql+pypostgresql://user:password@host:port/dbname[?key=value&key=value...] - :url: http://python.projects.pgfoundry.org/ + :url: https://python.projects.pgfoundry.org/ .. note:: diff --git a/lib/sqlalchemy/dialects/postgresql/ranges.py b/lib/sqlalchemy/dialects/postgresql/ranges.py index ab44fa590..f251a04bd 100644 --- a/lib/sqlalchemy/dialects/postgresql/ranges.py +++ b/lib/sqlalchemy/dialects/postgresql/ranges.py @@ -2,7 +2,7 @@ # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under -# the MIT License: http://www.opensource.org/licenses/mit-license.php +# the MIT License: https://www.opensource.org/licenses/mit-license.php from ... import types as sqltypes @@ -18,7 +18,7 @@ class RangeOperators(object): provided in the ``postgres`` dialect and can likely be used for any range types you create yourself. - __ http://www.postgresql.org/docs/devel/static/functions-range.html + __ https://www.postgresql.org/docs/devel/static/functions-range.html No extra support is provided for the Range Functions listed in Table 9-45 of the PostgreSQL documentation. For these, the normal |