More cleanup of installing tiger geocodoer and also change editorconfig to note that run_test.pl is space delimited

stable-3.2
Regina Obe 2021-06-27 18:55:22 -04:00
parent 463539fc09
commit 33de6875b4
2 changed files with 15 additions and 0 deletions

View File

@ -26,6 +26,11 @@ indent_style = tab
indent_style = space
indent_size = 4
# Exception: regress/run_test.pl uses 4-spaces indent
[regress/run_test.pl]
indent_style = space
indent_size = 4
# SQL files want tab indentation
[*.{sql,sql.in}]
indent_style = tab

View File

@ -1792,6 +1792,16 @@ sub drop_spatial_extensions
$rv = system($cmd);
$ok = 0 if $rv;
}
if ( $OPT_WITH_TIGER )
{
$cmd = "psql $psql_opts -c \"DROP EXTENSION IF EXISTS postgis_tiger_geocoder;
DROP EXTENSION IF EXISTS fuzzystrmatch;
DROP SCHEMA IF EXISTS tiger;
DROP SCHEMA IF EXISTS tiger_data;
\" $DB >> $REGRESS_LOG 2>&1";
$rv = system($cmd);
$ok = 0 if $rv;
}
$cmd = "psql $psql_opts -c \"DROP EXTENSION postgis\" $DB >> $REGRESS_LOG 2>&1";
$rv = system($cmd);