File tree 6 files changed +66
-18
lines changed 6 files changed +66
-18
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,16 @@ for DB in template_postgis "$POSTGRES_DB"; do
24
24
EOSQL
25
25
else
26
26
echo " Loading PostGIS into $DB via files"
27
- psql --dbname=" $DB " < postgis.sql
28
- psql --dbname=" $DB " < topology.sql
29
- psql --dbname=" $DB " < spatial_ref_sys.sql
27
+ files='
28
+ postgis
29
+ postgis_comments
30
+ topology
31
+ topology_comments
32
+ rtpostgis
33
+ raster_comments
34
+ '
35
+ for file in $files ; do
36
+ psql --dbname=" $DB " < " ${file} .sql"
37
+ done
30
38
fi
31
39
done
Original file line number Diff line number Diff line change @@ -24,8 +24,16 @@ for DB in template_postgis "$POSTGRES_DB"; do
24
24
EOSQL
25
25
else
26
26
echo " Loading PostGIS into $DB via files"
27
- psql --dbname=" $DB " < postgis.sql
28
- psql --dbname=" $DB " < topology.sql
29
- psql --dbname=" $DB " < spatial_ref_sys.sql
27
+ files='
28
+ postgis
29
+ postgis_comments
30
+ topology
31
+ topology_comments
32
+ rtpostgis
33
+ raster_comments
34
+ '
35
+ for file in $files ; do
36
+ psql --dbname=" $DB " < " ${file} .sql"
37
+ done
30
38
fi
31
39
done
Original file line number Diff line number Diff line change @@ -24,8 +24,16 @@ for DB in template_postgis "$POSTGRES_DB"; do
24
24
EOSQL
25
25
else
26
26
echo " Loading PostGIS into $DB via files"
27
- psql --dbname=" $DB " < postgis.sql
28
- psql --dbname=" $DB " < topology.sql
29
- psql --dbname=" $DB " < spatial_ref_sys.sql
27
+ files='
28
+ postgis
29
+ postgis_comments
30
+ topology
31
+ topology_comments
32
+ rtpostgis
33
+ raster_comments
34
+ '
35
+ for file in $files ; do
36
+ psql --dbname=" $DB " < " ${file} .sql"
37
+ done
30
38
fi
31
39
done
Original file line number Diff line number Diff line change @@ -24,8 +24,16 @@ for DB in template_postgis "$POSTGRES_DB"; do
24
24
EOSQL
25
25
else
26
26
echo " Loading PostGIS into $DB via files"
27
- psql --dbname=" $DB " < postgis.sql
28
- psql --dbname=" $DB " < topology.sql
29
- psql --dbname=" $DB " < spatial_ref_sys.sql
27
+ files='
28
+ postgis
29
+ postgis_comments
30
+ topology
31
+ topology_comments
32
+ rtpostgis
33
+ raster_comments
34
+ '
35
+ for file in $files ; do
36
+ psql --dbname=" $DB " < " ${file} .sql"
37
+ done
30
38
fi
31
39
done
Original file line number Diff line number Diff line change @@ -24,8 +24,16 @@ for DB in template_postgis "$POSTGRES_DB"; do
24
24
EOSQL
25
25
else
26
26
echo " Loading PostGIS into $DB via files"
27
- psql --dbname=" $DB " < postgis.sql
28
- psql --dbname=" $DB " < topology.sql
29
- psql --dbname=" $DB " < spatial_ref_sys.sql
27
+ files='
28
+ postgis
29
+ postgis_comments
30
+ topology
31
+ topology_comments
32
+ rtpostgis
33
+ raster_comments
34
+ '
35
+ for file in $files ; do
36
+ psql --dbname=" $DB " < " ${file} .sql"
37
+ done
30
38
fi
31
39
done
Original file line number Diff line number Diff line change @@ -24,8 +24,16 @@ for DB in template_postgis "$POSTGRES_DB"; do
24
24
EOSQL
25
25
else
26
26
echo " Loading PostGIS into $DB via files"
27
- psql --dbname=" $DB " < postgis.sql
28
- psql --dbname=" $DB " < topology.sql
29
- psql --dbname=" $DB " < spatial_ref_sys.sql
27
+ files='
28
+ postgis
29
+ postgis_comments
30
+ topology
31
+ topology_comments
32
+ rtpostgis
33
+ raster_comments
34
+ '
35
+ for file in $files ; do
36
+ psql --dbname=" $DB " < " ${file} .sql"
37
+ done
30
38
fi
31
39
done
You can’t perform that action at this time.
0 commit comments