root/bin/postgres_vegbien @ 4662
1 |
#!/bin/bash
|
---|---|
2 |
# Runs a PostgreSQL command on the vegbien db
|
3 |
|
4 |
selfDir="$(dirname -- "$0")" |
5 |
|
6 |
. "$selfDir/vegbien_dest" |
7 |
export PGHOST="$out_host" PGUSER="$out_user" PGPASSWORD="$out_password" \ |
8 |
PGDATABASE="$out_database" |
9 |
|
10 |
exec "$@" |