Revision 12141
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/schemas/Makefile | ||
---|---|---|
63 | 63 |
|
64 | 64 |
%/uninstall: vegbien.sql _always |
65 | 65 |
$(call confirmRmPublicSchema,$*) |
66 |
-$(psqlNoSearchPath) <<<'SELECT "$*".rm();' |
|
67 |
# ignore errors if schema doesn't exist |
|
66 |
# don't use public.rm(), because when the public schema is incompletely |
|
67 |
# imported, this function will not yet exist |
|
68 |
$(psqlNoSearchPath) <<<"SELECT util.schema_bundle_rm('$*');" |
|
68 | 69 |
|
69 | 70 |
# Replaces the current public schema with the given version |
70 | 71 |
# usage: make schemas/r#/publish |
Also available in: Unified diff
schemas/Makefile: `%/uninstall: vegbien.sql`: use util.schema_bundle_rm() instead of public.rm(), because when the public schema is incompletely imported, public.rm() will not yet exist