data4impact/bin/d4i-refresh-mat-views

12 lines
206 B
Bash
Executable File

#!/bin/bash
db=data4impact
host=localhost
port=5432
user=d4i
passwd=
DIR=$(cd "$(dirname "$0")/.."; pwd -P)
PGPASSWORD=$passwd
psql -h $host -p $port -U $user $db -f $DIR/lib/refreshMaterializedViews.sql