root/schemas/vegbien.sql.make @ 1997
1 |
#!/bin/sh
|
---|---|
2 |
# Creates vegbien.sql by dumping the vegbien db
|
3 | |
4 |
selfDir="$(dirname -- "$0")" |
5 | |
6 |
# 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 |
"$selfDir/../bin/postgres_vegbien" pg_dump --schema=public --schema-only \ |
18 |
--no-owner --no-privileges |