From b3124215117541a86b0740314ef991e1d521da69 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Mon, 24 Aug 2020 10:47:38 +0100 Subject: [PATCH] Refs #30897 -- Added test for WAL option to Queryset.explain() on PostgreSQL 13+. --- tests/queries/test_explain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/queries/test_explain.py b/tests/queries/test_explain.py index a7b0e6ee3d2..a8ecd752cdf 100644 --- a/tests/queries/test_explain.py +++ b/tests/queries/test_explain.py @@ -57,6 +57,8 @@ class ExplainTests(TestCase): test_options.append({'summary': True}) if connection.features.is_postgresql_12: test_options.append({'settings': True}) + if connection.features.is_postgresql_13: + test_options.append({'analyze': True, 'wal': True}) for options in test_options: with self.subTest(**options), transaction.atomic(): with CaptureQueriesContext(connection) as captured_queries: