Revision 14885
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 = echo [[[[[[[[$$verbosity >&2; set -o pipefail; \
|
|
288 |
cleanup = 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 |
|
331 | 330 |
$(import_install_) |
332 | 331 |
$(exportHeader) |
333 | 332 |
$(cleanup) |
Also available in: Unified diff
inputs/import.stats.xls: updated import times