From ff9ceed32b880733d94190742e45dbcf5927b161 Mon Sep 17 00:00:00 2001
From: David Sanders <shang.xiao.sanders@gmail.com>
Date: Tue, 4 Apr 2023 21:53:13 +1000
Subject: [PATCH] Refs #34434 -- Added note about breaking changes in psycopg
 version 3 to release notes.

---
 docs/releases/4.2.txt | 5 +++++
 1 file changed, 5 insertions(+)

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
 ------------------------------