Revision 8835
Added by Aaron Marcuse-Kubitza over 11 years ago
inputs/input.Makefile | ||
---|---|---|
239 | 239 |
|
240 | 240 |
# Must come before %/install to override it |
241 | 241 |
sql/install: $(dbExports) |
242 |
($(inDatasrc); cat $+|pg_dump_limit)|"time" $(bin)/psql_script_vegbien \
|
|
243 |
--set=schema='"$(datasrc)"' $(logInstallRoot) |
|
242 |
($(inDatasrc); cat $+|pg_dump_limit)|"time" env no_search_path=1 \
|
|
243 |
$(bin)/psql_script_vegbien --set=schema='"$(datasrc)"' $(logInstallRoot)
|
|
244 | 244 |
|
245 | 245 |
cleanup = $(if $(wildcard $*/cleanup.sql),($(inDatasrc); cat $*/cleanup.sql)\ |
246 | 246 |
|"time" $(psqlNoSearchPath) --echo-all --set=table='"$*"' $(logInstall*Add),\ |
Also available in: Unified diff
bugfix: inputs/input.Makefile: sql/install: manually specify $no_search_path option to psql_script_vegbien, which is added automatically in $(psqlNoSearchPath) but that uses psql_verbose_vegbien