Revision 2036
Added by Aaron Marcuse-Kubitza over 12 years ago
vegbien.sql.make | ||
---|---|---|
3 | 3 |
|
4 | 4 |
selfDir="$(dirname -- "$0")" |
5 | 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 | 6 |
"$selfDir/../bin/postgres_vegbien" pg_dump --schema=public --schema-only \ |
18 | 7 |
--no-owner --no-privileges |
Also available in: Unified diff
Moved "CREATE PROCEDURAL LANGUAGE plpgsql" to main Makefile so that it would only run when the DB is created, not when the public schema is reinstalled. This is only relevant on PostgreSQL < 9.x, where the plpgsql language is not part of template0.