summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-09-26 12:05:26 +0200
committerGitHub <noreply@github.com>2023-09-26 12:05:26 +0200
commitf9e9526800c921ae393ff58826daed51587b1727 (patch)
tree14d365bbaee49850faa7e64f9dc0f9b7f67b87a7 /docs
parent357365a64e1c756eabaaf0ee0404df87c15c6e9b (diff)
Fixed #34873 -- Added QuerySet.explain() support for GENERIC_PLAN option on PostgreSQL 16+.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/querysets.txt4
-rw-r--r--docs/releases/5.1.txt3
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index b89341bc6a..3295e4ce7d 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -3076,6 +3076,10 @@ adverse effects on your database. For example, the ``ANALYZE`` flag supported
by MariaDB, MySQL 8.0.18+, and PostgreSQL could result in changes to data if
there are triggers or if a function is called, even for a ``SELECT`` query.
+.. versionchanged:: 5.1
+
+ Support for the ``generic_plan`` option on PostgreSQL 16+ was added.
+
.. _field-lookups:
``Field`` lookups
diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt
index 12e3c80ee2..1e2eb97557 100644
--- a/docs/releases/5.1.txt
+++ b/docs/releases/5.1.txt
@@ -168,7 +168,8 @@ Migrations
Models
~~~~~~
-* ...
+* :meth:`.QuerySet.explain` now supports the ``generic_plan`` option on
+ PostgreSQL 16+.
Requests and Responses
~~~~~~~~~~~~~~~~~~~~~~