diff --git a/docs/en_US/images/preferences_sql_explain.png b/docs/en_US/images/preferences_sql_explain.png index 4b4e76928ab..d23026d6246 100644 Binary files a/docs/en_US/images/preferences_sql_explain.png and b/docs/en_US/images/preferences_sql_explain.png differ diff --git a/docs/en_US/images/query_toolbar_explain.png b/docs/en_US/images/query_toolbar_explain.png index 2c184b5df66..9772d81b351 100644 Binary files a/docs/en_US/images/query_toolbar_explain.png and b/docs/en_US/images/query_toolbar_explain.png differ diff --git a/docs/en_US/preferences.rst b/docs/en_US/preferences.rst index fdb8b9c8da6..90d1989632b 100644 --- a/docs/en_US/preferences.rst +++ b/docs/en_US/preferences.rst @@ -396,16 +396,25 @@ Use the fields on the *Editor* panel to change settings of the query editor. Use the fields on the *Explain* panel to specify the level of detail included in a graphical EXPLAIN. -* When the *Show Buffers?* switch is set to *True*, graphical explain details +* When the *Show buffers?* switch is set to *True*, graphical explain details will include information about buffer usage. -* When the *Show Costs?* switch is set to *True*, graphical explain details will +* When the *Show costs?* switch is set to *True*, graphical explain details will include information about the estimated startup and total cost of each plan, as well as the estimated number of rows and the estimated width of each row. -* When the *Show Timing?* switch is set to *True*, graphical explain details +* When the *Show settings?* switch is set to *True*, graphical explain details + will include the information on the configuration parameters. + +* When the *Show summary?* switch is set to *True*, graphical explain details + will include the summary information about the query plan. + +* When the *Show timing?* switch is set to *True*, graphical explain details will include the startup time and time spent in each node in the output. +* When the *Show wal?* switch is set to *True*, graphical explain details + will include the information on WAL record generation. + * When the *Verbose output?* switch is set to *True*, graphical explain details will include extended information about the query execution plan. diff --git a/docs/en_US/query_tool_toolbar.rst b/docs/en_US/query_tool_toolbar.rst index 4d7b96e6491..4ecd3c1ed03 100644 --- a/docs/en_US/query_tool_toolbar.rst +++ b/docs/en_US/query_tool_toolbar.rst @@ -146,6 +146,10 @@ Query Execution | | spent in each node of the query. | | | | | | | | * Select *Summary* to include the summary information about the query plan. | | + | | | | + | | * Select *Settings* to include the information on the configuration parameters. | | + | | | | + | | * Select *Wal* to include the information on WAL record generation. | | +----------------------+---------------------------------------------------------------------------------------------------+----------------+ | *Commit* | Click the *Commit* icon to commit the transaction. | Shift+CTRL+M | +----------------------+---------------------------------------------------------------------------------------------------+----------------+ diff --git a/docs/en_US/release_notes_7_6.rst b/docs/en_US/release_notes_7_6.rst index 77feb4d488f..eff3b9821b0 100644 --- a/docs/en_US/release_notes_7_6.rst +++ b/docs/en_US/release_notes_7_6.rst @@ -24,6 +24,7 @@ New features | `Issue #6375 `_ - Added support for ALTER INDEX column statistics. | `Issue #6376 `_ - Added unlogged option while creating a sequence. | `Issue #6381 `_ - Added support for SYSTEM, CONCURRENTLY and TABLESPACE options in REINDEX. + | `Issue #6382 `_ - Added WAL option to EXPLAIN ANALYZE command. | `Issue #6397 `_ - Added new/missing options to the VACUUM command. | `Issue #6415 `_ - Added SKIP_LOCKED and BUFFER_USAGE_LIMIT option to Analyze command. | `Issue #6448 `_ - Add support for TRUNCATE trigger in foreign table. @@ -37,6 +38,6 @@ Bug fixes ********* | `Issue #5454 `_ - Fix incorrect redirection URL after authentication by removing fixed value set to SCRIPT_NAME environment variable in pgAdmin4.wsgi file. - | `Issue #6500 `_ - Fix the issue where query tool window turns blank if the user tries to generate a graph on the result. | `Issue #6252 `_ - Fix an issue where query tool on shared server is throwing error if the pgAdmin config DB is external. + | `Issue #6500 `_ - Fix the issue where query tool window turns blank if the user tries to generate a graph on the result. | `Issue #6624 `_ - Fix an issue where changing MFA_SUPPORTED_METHODS breaks the MFA validation. diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/MainToolBar.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/MainToolBar.jsx index 36fd8450c3d..2a301ba42ad 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/MainToolBar.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/MainToolBar.jsx @@ -185,6 +185,7 @@ export function MainToolBar({containerRef, onFilterClick, onManageMacros}) { timing: analyze ? Boolean(checkedMenuItems['explain_timing']) : false, summary: Boolean(checkedMenuItems['explain_summary']), settings: Boolean(checkedMenuItems['explain_settings']), + wal: analyze ? Boolean(checkedMenuItems['explain_wal']) : false, }); }, [checkedMenuItems]); @@ -381,6 +382,7 @@ export function MainToolBar({containerRef, onFilterClick, onManageMacros}) { explain_timing: queryToolPref.explain_timing, explain_summary: queryToolPref.explain_summary, explain_settings: queryToolPref.explain_settings, + explain_wal: queryToolPref.explain_wal, }); } } @@ -623,6 +625,8 @@ export function MainToolBar({containerRef, onFilterClick, onManageMacros}) { onClick={checkMenuClick}>{gettext('Summary')} {gettext('Settings')} + {gettext('Wal')}