1
0
mirror of https://gitlab.com/depesz/explain.depesz.com.git synced 2024-11-28 08:58:52 +02:00

Forgot to special-case insert/update/delete too

Second batch of changes related to Pg::Explain 0.65
This commit is contained in:
Hubert depesz Lubaczewski 2012-11-08 13:32:07 +01:00
parent c355a51971
commit 00aacf7f26

View File

@ -162,6 +162,15 @@
% elsif ( 'Seq Scan' eq $node->type ) {
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
% }
% elsif ( 'Insert' eq $node->type ) {
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
% }
% elsif ( 'Update' eq $node->type ) {
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
% }
% elsif ( 'Delete' eq $node->type ) {
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
% }
% elsif ( 'Foreign Scan' eq $node->type ) {
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
% }