summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sanders <shang.xiao.sanders@gmail.com>2023-04-04 21:53:13 +1000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-04-04 17:07:08 +0200
commit272dc386c28a4999b179de8ed57bcddea09676a7 (patch)
tree9e8149b69bc64c0e9ef7ee79b9d3daa0823d0a7c
parent50d469fe486985aa5a353a3c829ef22b36c32088 (diff)
downloaddjango-272dc386c28a4999b179de8ed57bcddea09676a7.tar.gz
[4.2.x] Refs #34434 -- Added note about breaking changes in psycopg version 3 to release notes.
Backport of ff9ceed32b880733d94190742e45dbcf5927b161 from main
-rw-r--r--docs/releases/4.2.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt
index b150b9df66..a7c20a7d6d 100644
--- a/docs/releases/4.2.txt
+++ b/docs/releases/4.2.txt
@@ -42,8 +42,13 @@ supports both libraries.
Support for ``psycopg2`` is likely to be deprecated and removed at some point
in the future.
+Be aware that ``psycopg`` 3 introduces some breaking changes over ``psycopg2``.
+As a consequence, you may need to make some changes to account for
+`differences from psycopg2`_.
+
.. _psycopg: https://www.psycopg.org/psycopg3/
.. _psycopg library: https://pypi.org/project/psycopg/
+.. _differences from psycopg2: https://www.psycopg.org/psycopg3/docs/basic/from_pg2.html
Comments on columns and tables
------------------------------