]> granicus.if.org Git - postgis/commitdiff
missed changes per #3247 highlighted.
authorRegina Obe <lr@pcorp.us>
Fri, 21 Aug 2015 05:09:18 +0000 (05:09 +0000)
committerRegina Obe <lr@pcorp.us>
Fri, 21 Aug 2015 05:09:18 +0000 (05:09 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13966 b70326c6-7e19-0410-871a-916f4a2858ee

extras/tiger_geocoder/create_geocode.sh
extras/tiger_geocoder/upgrade_geocoder.bat

index 732501aad20d313e431dafc6c5d7fcfc598a7062..06209622b515b72060e5350bda9e600fbbb53dd9 100755 (executable)
@@ -12,7 +12,7 @@ ${PSQL_CMD} -d "${THEDB}" -f "${PGCONTRIB}/fuzzystrmatch.sql"
 ${PSQL_CMD} -d "${THEDB}" -c "CREATE SCHEMA tiger"
 #unremark this next line and edit if you want the search paths set as part of the install
 #${PSQL_CMD} -d "${THEDB}" -c "ALTER DATABASE ${THEDB} SET search_path=public, tiger;"
-#${PSQL_CMD} -d "${THEDB}" -f "tables/lookup_tables_2010.sql"
+#${PSQL_CMD} -d "${THEDB}" -f "tables/lookup_tables_2011.sql"
 ${PSQL_CMD} -d "${THEDB}" -c "CREATE SCHEMA tiger_data"
 ${PSQL_CMD} -d "${THEDB}" -f "create_geocode.sql"
 ${PSQL_CMD} -d "${THEDB}" -f "tiger_loader_2015.sql"
index 667f6fe28d3cc7f29562277dfa05d3bdfac5c2ad..6d9554210e7b68d9f031c440190c275dbbca2f78 100755 (executable)
@@ -3,13 +3,16 @@ set PGHOST=localhost
 set PGUSER=postgres\r
 set PGPASSWORD=yourpasswordhere\r
 set THEDB=geocoder\r
-set PGBIN=C:\Program Files\PostgreSQL\8.4\bin\r
-set PGCONTRIB=C:\Program Files\PostgreSQL\8.4\share\contrib\r
+set PGBIN=C:\Program Files\PostgreSQL\9.4\bin\r
+set PGCONTRIB=C:\Program Files\PostgreSQL\9.4\share\contrib\r
+\r
 "%PGBIN%\psql"  -d "%THEDB%" -f "upgrade_geocode.sql"\r
 \r
+REM "%PGBIN%\psql" -d "%THEDB%" -c "ALTER EXTENSION postgis_tiger_geocoder UPDATE;"\r
+\r
 REM unremark the loader line to update your loader scripts\r
 REM note this wipes out your custom settings in loader_* tables\r
-REM "%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2013.sql"\r
+REM "%PGBIN%\psql"  -d "%THEDB%" -f "tiger_loader_2015.sql"\r
 cd regress\r
 REM "%PGBIN%\psql"  -d "%THEDB%" -t -f regress.sql\r
 pause\r