diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-09-26 12:05:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-26 12:05:26 +0200 |
| commit | f9e9526800c921ae393ff58826daed51587b1727 (patch) | |
| tree | 14d365bbaee49850faa7e64f9dc0f9b7f67b87a7 /tests/queries | |
| parent | 357365a64e1c756eabaaf0ee0404df87c15c6e9b (diff) | |
Fixed #34873 -- Added QuerySet.explain() support for GENERIC_PLAN option on PostgreSQL 16+.
Diffstat (limited to 'tests/queries')
| -rw-r--r-- | tests/queries/test_explain.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/queries/test_explain.py b/tests/queries/test_explain.py index f04153754b..980e8e9621 100644 --- a/tests/queries/test_explain.py +++ b/tests/queries/test_explain.py @@ -85,6 +85,8 @@ class ExplainTests(TestCase): {"settings": True}, {"analyze": True, "wal": True}, ] + if connection.features.is_postgresql_16: + test_options.append({"generic_plan": True}) for options in test_options: with self.subTest(**options), transaction.atomic(): with CaptureQueriesContext(connection) as captured_queries: |
