Fix biengeo script password prompt for postgres user.
Changed the DB_HOST variables in the biengeo bash scripts to a DB_HOST_OPT variable that is blank by default. Updated all psql calls that used "-h $DB_HOST" to use just $DB_HOST_OPT instead. This means that to specify a different db host, the DB_HOST_OPT variables must include the "-h " flag. For example: DB_HOST_OPT="-h localhost" Added some additional logging statements for long running SQL statements so the user knows what is currently processing.
Fix biengeo script password prompt for postgres user.
Changed the DB_HOST variables in the biengeo bash scripts to a
DB_HOST_OPT variable that is blank by default.
Updated all psql calls that used "-h $DB_HOST" to use just $DB_HOST_OPT
instead.
This means that to specify a different db host, the DB_HOST_OPT
variables must include the "-h " flag.
For example:
DB_HOST_OPT="-h localhost"
Added some additional logging statements for long running SQL statements
so the user knows what is currently processing.