Update db hostname, modify depth per org tree adjustment, remove obsolete config...
[sitka/sitka-tools.git] / marc_export_custom / fetch-shortcodes.sh
index 48380da..4c91014 100755 (executable)
@@ -3,7 +3,7 @@ SHORTCODES=$1
 if [ -z "${SHORTCODES}" ]; then
     SHORTCODES="shortcodes.csv"
 fi
-psql -Upostgres -U evergreen evergreen -h prod-pg94-db2-sitka.sitka.bclibraries.ca -o $SHORTCODES \
+psql -Upostgres -U evergreen evergreen -h dbprod-96-main-ndb2 -o $SHORTCODES \
 -c "COPY (
       SELECT
         a.shortname,a.name,b.shortname AS parent