From: Regina Obe Date: Wed, 25 Jan 2017 23:42:12 +0000 (+0000) Subject: Turn off loading of tabblock by default. It's been broken since 2014 X-Git-Tag: 2.3.2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b80b15004ed8be280e460b1ccda32600d97b47b5;p=postgis Turn off loading of tabblock by default. It's been broken since 2014 References #3898 for PostGIS 2.3 git-svn-id: http://svn.osgeo.org/postgis/branches/2.3@15293 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extras/tiger_geocoder/tiger_loader_2016.sql b/extras/tiger_geocoder/tiger_loader_2016.sql index 08bf8c4e6..7418e3aa4 100644 --- a/extras/tiger_geocoder/tiger_loader_2016.sql +++ b/extras/tiger_geocoder/tiger_loader_2016.sql @@ -263,7 +263,7 @@ VALUES(10, 'tract', 'tract', true, false, true,false, 'c', ${psql} -c "ALTER TABLE ${data_schema}.${state_abbrev}_${lookup_name} ADD CONSTRAINT chk_statefp CHECK (statefp = ''${state_fips}'');"', ARRAY['gid']); INSERT INTO loader_lookuptables(process_order, lookup_name, table_name, load, level_county, level_state, single_geom_mode, insert_mode, pre_load_process, post_load_process, columns_exclude ) -VALUES(11, 'tabblock', 'tabblock', true, false, true,false, 'c', +VALUES(11, 'tabblock', 'tabblock', false, false, true,false, 'c', '${psql} -c "CREATE TABLE ${data_schema}.${state_abbrev}_${lookup_name}(CONSTRAINT pk_${state_abbrev}_${lookup_name} PRIMARY KEY (tabblock_id)) INHERITS(tiger.${lookup_name});" ', '${psql} -c "ALTER TABLE ${staging_schema}.${state_abbrev}_${lookup_name} RENAME geoid10 TO tabblock_id;" ${psql} -c "ALTER TABLE ${data_schema}.${state_abbrev}_${lookup_name} ADD CONSTRAINT chk_statefp CHECK (statefp = ''${state_fips}'');"