Revision 10983
Added by Aaron Marcuse-Kubitza about 11 years ago
Makefile | ||
---|---|---|
48 | 48 |
%/install: vegbien.sql _always |
49 | 49 |
echo $(call mkSchemaCmd,$*)\ |
50 | 50 |
"COMMENT ON SCHEMA \"$*\" IS 'Version: $* ($(date))';"|$(psqlNoSearchPath) |
51 |
<$< $(sed) 's/( )public([,; ])/\1"$*"\2/g'|$(psqlNoSearchPath)
|
|
51 |
<$< $(if $(filter public,$*),,$(sed) 's/( )public([,; ])/\1"$*"\2/g'|)$(psqlNoSearchPath)
|
|
52 | 52 |
|
53 | 53 |
# Replaces the current public schema with the given version |
54 | 54 |
%/publish: _always |
Also available in: Unified diff
bugfix: schemas/Makefile: `%/install: vegbien.sql`: when replacing public with the specified schema name, only perform the replacement if the schema is named something other than public. this prevents text like "public schema" inside comments from being "-escaped.