Revision 6062
Added by Aaron Marcuse-Kubitza about 12 years ago
psql_vegbien | ||
---|---|---|
3 | 3 |
|
4 | 4 |
selfDir="$(dirname -- "$0")" |
5 | 5 |
|
6 |
exec "$selfDir/postgres_vegbien" psql "$@" |
|
6 |
. "$selfDir/vegbien_dest" |
|
7 |
|
|
8 |
searchPath="\"${out_schemas//,/\",\"}\"" |
|
9 |
|
|
10 |
(echo "SET search_path TO $searchPath;"; cat)\ |
|
11 |
|"$selfDir/postgres_vegbien" psql "$@" |
Also available in: Unified diff
psql_vegbien: Set the search_path to $out_schemas set by vegbien_dest. This will enable running any psql_vegbien script on a schema other than public.