From fb81f9c8d914f9911925dd3f4e77d7fc374b267c Mon Sep 17 00:00:00 2001 From: Federico Caselli Date: Sun, 4 Jul 2021 19:29:19 +0200 Subject: Replace all http:// links to https:// Also replace http://pypi.python.org/pypi with https://pypi.org/project Change-Id: I84b5005c39969a82140706472989f2a30b0c7685 --- lib/sqlalchemy/dialects/postgresql/psycopg2.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py') 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 @@ # # # 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 \ - `_ + `_ .. _psycopg2_multi_host: @@ -202,7 +202,7 @@ Psycopg2 Fast Execution Helpers Modern versions of psycopg2 include a feature known as `Fast Execution Helpers \ -`_, which +`_, 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) -- cgit v1.2.1