Revision 14884
Added by Aaron Marcuse-Kubitza about 10 years ago
trunk/inputs/input.Makefile | ||
---|---|---|
285 | 285 |
# $debug option runs the *.sql import verbosely, to display which statements are |
286 | 286 |
# being run. this should only be used for SQL files that use COPY FROM to import |
287 | 287 |
# data, to avoid echoing pages of insert statements. |
288 |
cleanup = set -o pipefail; \ |
|
288 |
cleanup = echo [[[[[[[[$$verbosity >&2; set -o pipefail; \
|
|
289 | 289 |
$(if $(wildcard $*/cleanup.sql),($(inDatasrc); cat $*/cleanup.sql)\ |
290 | 290 |
|"time" $(psqlNoSearchPath) --echo-all --set=table='"$*"' $(logInstall*Add),\ |
291 | 291 |
(export schema=$(datasrc) table=$*; . $(bin)/vegbien_dest; unset schemas; \ |
... | ... | |
327 | 327 |
$(selfMake) "$*/postprocess" |
328 | 328 |
|
329 | 329 |
%/install: _always |
330 |
echo [[[[[[[[$$verbosity >&2 |
|
330 | 331 |
$(import_install_) |
331 | 332 |
$(exportHeader) |
332 | 333 |
$(cleanup) |
Also available in: Unified diff
inputs/import.stats.xls: updated import times