Project

General

Profile

1
#!/bin/bash
2
# Accesses vegbien db
3
# Usage env [no_search_path=1] self [psql_opts...]
4

    
5
selfDir="$(dirname -- "$0")"
6

    
7
. "$selfDir/vegbien_dest"
8

    
9
searchPath="\"${out_schemas//,/\",\"}\""
10

    
11
(test -z "$no_search_path" && echo "SET search_path TO $searchPath;"; cat)\
12
|"$selfDir/postgres_vegbien" psql "$@"
(44-44/64)