From: Stefan Wojcik <5014112+yawhide@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:23:19 +0000 (-0400) Subject: Update links from initd.org to psycopg.org (#11244) X-Git-Tag: rel_1_4_53~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e61e631ab2114c753e14d84c0ac1eee3dddf1cd5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Update links from initd.org to psycopg.org (#11244) (cherry picked from commit ac7d70dea89dfaf8e061bc8dd03a1ed7825069fc) --- diff --git a/doc/build/changelog/migration_12.rst b/doc/build/changelog/migration_12.rst index d5676e2854..e0fb0e4140 100644 --- a/doc/build/changelog/migration_12.rst +++ b/doc/build/changelog/migration_12.rst @@ -1557,7 +1557,7 @@ Support for Batch Mode / Fast Execution Helpers The psycopg2 ``cursor.executemany()`` method has been identified as performing poorly, particularly with INSERT statements. To alleviate this, psycopg2 -has added `Fast Execution Helpers `_ +has added `Fast Execution Helpers `_ which rework statements into fewer server round trips by sending multiple DML statements in batch. SQLAlchemy 1.2 now includes support for these helpers to be used transparently whenever the :class:`_engine.Engine` makes use diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index 80033d0d7e..c2bd530ecd 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -231,7 +231,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