From: Mike Bayer Date: Wed, 11 Oct 2017 14:27:17 +0000 (-0400) Subject: - psycopg2's batch mode isn't the multiple values thing, X-Git-Tag: rel_1_2_0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3306d4d34d0f78bdda6f85a0a3be81beb2850676;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - psycopg2's batch mode isn't the multiple values thing, it's just batching of statements Change-Id: Ibb2e154d50ff3d9649822c9e4717ca5a3fd49430 --- diff --git a/doc/build/changelog/migration_12.rst b/doc/build/changelog/migration_12.rst index 598435ae81..f6ca7f8126 100644 --- a/doc/build/changelog/migration_12.rst +++ b/doc/build/changelog/migration_12.rst @@ -1359,8 +1359,8 @@ 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 `_ -which rework statements such as INSERT statements into fewer SQL calls with -multiple VALUES clauses. SQLAlchemy 1.2 now includes support for these +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` makes use of ``cursor.executemany()`` to invoke a statement against multiple parameter sets. The feature is off by default and can be enabled using the