Revision 12541
Added by Aaron Marcuse-Kubitza almost 11 years ago
Makefile | ||
---|---|---|
61 | 61 |
<$< $(sed) -e 's/( )public(_[[:alnum:]_]+)?([,;]| [^[:lower:]])/\1"$*\2"\3/g'\ |
62 | 62 |
|$(psqlNoSearchPath) # [[:alnum:]_]+, not ...*, because public_ is a username |
63 | 63 |
|
64 |
# **IMPORTANT**: you should not publish a schema until you are satisfied that it |
|
65 |
# can replace the previous public schema, so that the previous public schema |
|
66 |
# doesn't need to be saved. |
|
67 | 64 |
%/uninstall: vegbien.sql _always |
68 | 65 |
$(call confirmRmPublicSchema,$*) |
69 | 66 |
# don't use public.rm(), because when the public schema is incompletely |
... | ... | |
72 | 69 |
|
73 | 70 |
# Replaces the current public schema with the given version |
74 | 71 |
# usage: make schemas/r#/publish |
72 |
# **IMPORTANT**: you should not publish a schema until you are satisfied that it |
|
73 |
# can replace the previous public schema, so that the previous public schema |
|
74 |
# doesn't need to be saved. |
|
75 | 75 |
%/publish: _always |
76 | 76 |
@$(call confirmRmPublicSchema,public) |
77 | 77 |
$(psqlNoSearchPath) <<<'SELECT "$*".publish();' |
Also available in: Unified diff
fix: schemas/Makefile: moved comment about publishing a schema to %/publish