:tags: bug, postgresql
The pg8000 dialect has been revised and modernized for the most recent
- version of the pg8000 driver for PostgreSQL. Changes to the dialect
- include:
-
- * All data types are now sent as text rather than binary.
-
- * Using adapters, custom types can be plugged in to pg8000.
-
- * Previously, named prepared statements were used for all statements.
- Now unnamed prepared statements are used by default, and named
- prepared statements can be used explicitly by calling the
- Connection.prepare() method, which returns a PreparedStatement
- object.
-
- Pull request courtesy Tony Locke.
+ version of the pg8000 driver for PostgreSQL. Pull request courtesy Tony
+ Locke. Note that this necessarily pins pg8000 at 1.16.6 or greater,
+ which no longer has Python 2 support. Python 2 users who require pg8000
+ should ensure their requirements are pinned at ``SQLAlchemy<1.4``.
.. change::
:tags: bug, orm
Dialect Changes
===============
+pg8000 minimum version is 1.16.6, supports Python 3 only
+--------------------------------------------------------
+
+Support for the pg8000 dialect has been dramatically improved, with help from
+the project's maintainer.
+
+Due to API changes, the pg8000 dialect now requires
+version 1.16.6 or greater. The pg8000 series has dropped Python 2 support as of
+the 1.13 series. Python 2 users who require pg8000 should ensure their
+requirements are pinned at ``SQLAlchemy<1.4``.
+
+:ticket:`5451`
+
psycopg2 version 2.7 or higher is required for the PostgreSQL psycopg2 dialect
------------------------------------------------------------------------------