r53608 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53607‎ | r53608 | r53609 >
Date:17:10, 21 July 2009
Author:avar
Status:deferred
Tags:
Comment:
Don't create bogus views for the --slim tables
Modified paths:
  • /trunk/tools/osm-tools/osm2pgsql-style/create-language-views.pl (modified) (history)

Diff [purge]

Index: trunk/tools/osm-tools/osm2pgsql-style/create-language-views.pl
@@ -100,7 +100,7 @@
101101 #
102102
103103 # 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)';" );
105105
106106 if (not @tables) {
107107 die "There were no tables beginning with 'planet_osm' in your database, or perhaps the database connection failed";

Status & tagging log