mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2025-02-15 14:03:19 +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:
parent
579d9aea26
commit
bb7242c0fe
@ -160,6 +160,12 @@
|
||||
% elsif ( 'Index Scan Backward' eq $node->type ) {
|
||||
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 ) {
|
||||
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||
% }
|
||||
|
Loading…
x
Reference in New Issue
Block a user