mirror of
https://gitlab.com/depesz/explain.depesz.com.git
synced 2024-11-24 08:42:27 +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,7 +210,9 @@
|
||||
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