root/bin/psql_vegbien @ 6086
1 |
#!/bin/bash
|
---|---|
2 |
# Accesses vegbien db
|
3 |
|
4 |
selfDir="$(dirname -- "$0")" |
5 |
|
6 |
. "$selfDir/vegbien_dest" |
7 |
|
8 |
searchPath="\"${out_schemas//,/\",\"}\"" |
9 |
|
10 |
(echo "SET search_path TO $searchPath;"; cat)\ |
11 |
|"$selfDir/postgres_vegbien" psql "$@" |