Skip to content

Commit

Permalink
Turn off loading of tabblock by default. It's been broken since 2014 …
Browse files Browse the repository at this point in the history
…and not used by the geocoder

References #3698 for PostGIS 2.4

git-svn-id: http://svn.osgeo.org/postgis/trunk@15294 b70326c6-7e19-0410-871a-916f4a2858ee
  • Loading branch information
robe2 committed Jan 25, 2017
1 parent 6b33541 commit 0bfdd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/tiger_geocoder/tiger_loader_2016.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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}'');"
Expand Down

0 comments on commit 0bfdd55

Please sign in to comment.