#!/usr/bin/env bash set -e export PGHOST=heicode.postgres.database.azure.com export PGPORT=5432 export PGDATABASE=heicode export PGPASSWORD="Myadmin@123456." export PGSSLMODE=require echo "[try-1] PGUSER=heicode" PGUSER=heicode psql -c "select current_user, current_database();" || true echo "[try-2] PGUSER=heicode@heicode" PGUSER='heicode@heicode' psql -c "select current_user, current_database();" || true