mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2024-11-28 08:58:52 +02:00
Not all foreign scans have "ON" clause
Example: https://explain.depesz.com/s/0FlR Reported by MatheusOl on irc
This commit is contained in:
parent
5ed566fce6
commit
c409a2ad48
@ -210,8 +210,10 @@
|
||||
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||
% }
|
||||
% elsif ( 'Foreign Scan' eq $node->type ) {
|
||||
% if ( defined $node->scan_on ) {
|
||||
on <%= $node->scan_on->{ table_name } %> <%= $node->scan_on->{ table_alias } || '' %>
|
||||
% }
|
||||
% }
|
||||
% elsif ( 'CTE Scan' eq $node->type ) {
|
||||
on <%= $node->scan_on->{ cte_name } %> <%= $node->scan_on->{ cte_alias } || '' %>
|
||||
% }
|
||||
|
Loading…
Reference in New Issue
Block a user