You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql += " AND (pg_namespace.nspname,pg_class.relname,pg_attribute.attname) NOT IN (SELECT f_table_schema,f_table_name,f_geography_column FROM geography_columns)";
426
496
}
427
497
428
-
// TODO: handle this for the topogeometry case (once we lookup topology.layer)
498
+
if ( hasTopology() )
499
+
{
500
+
// TODO: do not lookup tables found in topology.layer (but why?)
501
+
sql += " AND (pg_namespace.nspname,pg_class.relname,pg_attribute.attname) NOT IN (SELECT schema_name,table_name,feature_column FROM topology.layer)";
502
+
}
429
503
}
430
504
431
505
sql += " AND pg_class.relkind IN ('v','r')"; // only from views and relations (tables)
0 commit comments