Revision 13931
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/inputs/input.Makefile | ||
---|---|---|
266 | 266 |
|
267 | 267 |
# Must come before %/install to override it |
268 | 268 |
sql/install: $(dbExports) |
269 |
set -o pipefail; ($(inDatasrc); cat $+|pg_dump_limit; $(if $(wildcard\ |
|
269 |
set -o pipefail; ($(inDatasrc); $(if $(wildcard schema.sql),cat schema.sql);\ |
|
270 |
cat $(filter-out schema.sql grants.sql,$+)|pg_dump_limit; $(if $(wildcard\ |
|
270 | 271 |
grants.sql),cat grants.sql))|"time" env no_search_path=1 \ |
271 | 272 |
$(bin)/psql_$(if $(debug),verbose,script)_vegbien --set=schema='"$(datasrc)"' \ |
272 | 273 |
$(logInstallRoot) |
Also available in: Unified diff
bugfix: inputs/input.Makefile: sql/install: schema.sql should not be passed through pg_dump_limit because it contains GRANT statements that need to be run