Index: trunk/tools/osm-tools/osm2pgsql-style/create-language-views.pl |
— | — | @@ -100,7 +100,7 @@ |
101 | 101 | # |
102 | 102 | |
103 | 103 | # The tables we're creating views for |
104 | | -my @tables = split_query( "select table_name from information_schema.tables where table_name ~ '^planet_osm';" ); |
| 104 | +my @tables = split_query( "select table_name from information_schema.tables where table_name ~ '^planet_osm_(point|line|polygon|roads)';" ); |
105 | 105 | |
106 | 106 | if (not @tables) { |
107 | 107 | die "There were no tables beginning with 'planet_osm' in your database, or perhaps the database connection failed"; |