We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 47b95b4 + 1c30bc0 commit 42d7ddeCopy full SHA for 42d7dde
debug_toolbar/views.py
@@ -95,6 +95,8 @@ def sql_explain(request):
95
# EXPLAIN QUERY PLAN dumps a more human-readable summary
96
# See http://www.sqlite.org/lang_explain.html for details
97
cursor.execute("EXPLAIN QUERY PLAN %s" % (sql,), params)
98
+ elif engine == "psycopg2":
99
+ cursor.execute("EXPLAIN ANALYZE %s" % (sql,), params)
100
else:
101
cursor.execute("EXPLAIN %s" % (sql,), params)
102
0 commit comments