-
Notifications
You must be signed in to change notification settings - Fork 650
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added WAL option to EXPLAIN ANALYZE command. #6382
- Loading branch information
1 parent
59c4a00
commit 1a7a23d
Showing
9 changed files
with
70 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
web/pgadmin/tools/sqleditor/templates/sqleditor/sql/13_plus/explain_plan.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% import 'sql/macros/utils.macros' as UTILS %} | ||
EXPLAIN ({% if format -%} | ||
FORMAT {{ format.upper() }} | ||
{%- endif %}{% if analyze is defined -%} | ||
, ANALYZE {{ UTILS.BOOL_TEXT(analyze) }} | ||
{%- endif %}{% if verbose is defined -%} | ||
, VERBOSE {{ UTILS.BOOL_TEXT(verbose) }} | ||
{%- endif %}{% if costs is defined -%} | ||
, COSTS {{ UTILS.BOOL_TEXT(costs) }} | ||
{%- endif %}{% if timing is defined -%} | ||
, TIMING {{ UTILS.BOOL_TEXT(timing) }} | ||
{%- endif %}{% if buffers is defined -%} | ||
, BUFFERS {{ UTILS.BOOL_TEXT(buffers) }} | ||
{%- endif %}{% if summary is defined -%} | ||
, SUMMARY {{ UTILS.BOOL_TEXT(summary) }} | ||
{%- endif %}{% if settings is defined -%} | ||
, SETTINGS {{ UTILS.BOOL_TEXT(settings) }} | ||
{%- endif %}{% if wal is defined -%} | ||
, WAL {{ UTILS.BOOL_TEXT(wal) }} | ||
{%- endif %}) {{ sql }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters