You've already forked explain.depesz.com
mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2025-07-17 01:42:34 +02:00
Fix display of Index Only Scans
New Pg::Explain version (0.67) splits them into parts, so it has to be re-assembled for display
This commit is contained in:
@ -160,6 +160,12 @@
|
|||||||
% elsif ( 'Index Scan Backward' eq $node->type ) {
|
% elsif ( 'Index Scan Backward' eq $node->type ) {
|
||||||
using <%= $node->scan_on->{ index_name } %> on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
using <%= $node->scan_on->{ index_name } %> on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||||
% }
|
% }
|
||||||
|
% elsif ( 'Index Only Scan' eq $node->type ) {
|
||||||
|
using <%= $node->scan_on->{ index_name } %> on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||||
|
% }
|
||||||
|
% elsif ( 'Index Only Scan Backward' eq $node->type ) {
|
||||||
|
using <%= $node->scan_on->{ index_name } %> on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||||
|
% }
|
||||||
% elsif ( 'Seq Scan' eq $node->type ) {
|
% elsif ( 'Seq Scan' eq $node->type ) {
|
||||||
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||||
% }
|
% }
|
||||||
|
Reference in New Issue
Block a user