gather stored vars for postgres

This commit is contained in:
Ed Chalstrey 2022-03-28 14:17:55 +01:00
parent da89c9b63b
commit 405f9558ad

View File

@ -1,5 +1,11 @@
#!/usr/bin/env bash #!/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 # Load geometries from GeoJSON to Postgres
# - assume postgres connection details are set in the environment using PGUSER, PGHOST etc. # - assume postgres connection details are set in the environment using PGUSER, PGHOST etc.