aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-08-17 15:27:00 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-08-17 15:27:00 +1000
commit8a615636d22f7548dae464d561e02cd17e21f78b (patch)
treee80650feaba2204fd6c097158a32a13416718111
parentf9b5f1afcf868e291648e5f7db4f7656b06963ec (diff)
UNLOGGED tables are lost on machine restart so unsetting it
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 202c31e..0192367 100644
--- a/Makefile
+++ b/Makefile
@@ -85,12 +85,12 @@ dist/vicmap-osm.fgb: dist/vicmap-osm.geojson
# useful for development to be able to query a database
loadPgAdd: data/vicmap/ll_gda94/sde_shape/whole/VIC/VMADD/layer/address.shp
- ogr2ogr -f PostgreSQL PG: $< -lco UNLOGGED=YES -nln vmadd
+ ogr2ogr -f PostgreSQL PG: $< -nln vmadd
# index all columns for faster queries during development
psql -f src/createIndexQuery.sql --tuples-only | psql
loadPgProp: data/vicmap/ll_gda94/sde_shape/whole/VIC/VMPROP/layer/property_view.shp
- ogr2ogr -f PostgreSQL PG: $< -lco UNLOGGED=YES -nln vmprop -nlt MULTIPOLYGON
+ ogr2ogr -f PostgreSQL PG: $< -nln vmprop -nlt MULTIPOLYGON
data/victoria.osm.pbf:
wget --no-verbose --directory-prefix=data http://download.openstreetmap.fr/extracts/oceania/australia/victoria.osm.pbf