diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-08-17 15:27:00 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-08-17 15:27:00 +1000 |
commit | 8a615636d22f7548dae464d561e02cd17e21f78b (patch) | |
tree | e80650feaba2204fd6c097158a32a13416718111 | |
parent | f9b5f1afcf868e291648e5f7db4f7656b06963ec (diff) |
UNLOGGED tables are lost on machine restart so unsetting it
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |