From 090d5ccc6c59e4df491ec0599c569834bdcf1409 Mon Sep 17 00:00:00 2001 From: Scott Macpherson Date: Thu, 13 Apr 2023 21:07:32 +1000 Subject: [4.2.x] Fixed #34486 -- Fixed DatabaseOperations.compose_sql() crash with no existing database connection on PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. Backport of 53aee470d5b35e2708864d5221d2b5655e10c091 from main --- docs/releases/4.2.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.2.1.txt b/docs/releases/4.2.1.txt index 84e3695cf4..f8bf6cc9d4 100644 --- a/docs/releases/4.2.1.txt +++ b/docs/releases/4.2.1.txt @@ -37,3 +37,7 @@ Bugfixes * Fixed a regression in Django 4.2 where ``timesince`` and ``timeuntil`` template filters returned incorrect results for a datetime with a non-UTC timezone when a time difference is less than 1 day (:ticket:`34483`). + +* Fixed a regression in Django 4.2 that caused a crash of + :class:`~django.contrib.postgres.search.SearchHeadline` function with + ``psycopg`` 3 (:ticket:`34486`). -- cgit v1.3