Revision 4512
Added by Aaron Marcuse-Kubitza over 12 years ago
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 |
|
228 |
echo 'VACUUM ANALYZE "$*";')|$(psqlAsBien) --echo-all $(call logInstall,$*/)
|
|
229 | 229 |
$(exportHeader) |
230 | 230 |
|
231 | 231 |
# The joined tables must be suffixed with ".src" to prevent the creation of a |
Also available in: Unified diff
input.Makefile: Staging tables installation: `%/install: %/create.sql`: Log the output to the install log, just like for other %/install targets