Project

General

Profile

1 380 aaronmk
#!/bin/sh
2
# Creates vegbien.sql by dumping the vegbien db
3
4
selfDir="$(dirname -- "$0")"
5
6 1937 aaronmk
# Not part of public schema
7
cat <<EOF
8
--
9
-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner:
10
--
11
12
CREATE PROCEDURAL LANGUAGE plpgsql;
13
14
15
EOF
16
17 1932 aaronmk
"$selfDir/../bin/postgres_vegbien" pg_dump --schema=public --schema-only \
18
--no-owner --no-privileges