Project

General

Profile

« Previous | Next » 

Revision 4522

input.Makefile: Staging tables installation: `%/install: %/create.sql`: Time the install

View differences:

inputs/input.Makefile
225 225
%/install %/header.csv: %/create.sql _always
226 226
	($(inDatasrc); echo 'CREATE TABLE "$*" AS'; cat $<; echo ';'; \
227 227
echo 'ALTER TABLE "$*" ADD COLUMN row_num serial NOT NULL PRIMARY KEY;'; \
228
echo 'VACUUM ANALYZE "$*";')|$(psqlAsBien) --echo-all $(call logInstall,$*/)
228
echo 'VACUUM ANALYZE "$*";')|"time" $(psqlAsBien) --echo-all \
229
$(call logInstall,$*/)
229 230
	$(exportHeader)
230 231

  
231 232
# The joined tables must be suffixed with ".src" to prevent the creation of a

Also available in: Unified diff