From 405f9558ad3372b2b8ddbb3776e0c82e2594bc7f Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Mon, 28 Mar 2022 14:17:55 +0100 Subject: [PATCH] gather stored vars for postgres --- etl/load_geometries.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etl/load_geometries.sh b/etl/load_geometries.sh index 4a4d5745..a2b20416 100755 --- a/etl/load_geometries.sh +++ b/etl/load_geometries.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash +# Gather stored postgres variables +export PGHOST=${PGHOST} +export PGDATABASE=${PGDATABASE} +export PGUSER=${PGUSER} +export PGPASSWORD=${PGPASSWORD} + # # Load geometries from GeoJSON to Postgres # - assume postgres connection details are set in the environment using PGUSER, PGHOST etc.