Project

General

Profile

« Previous | Next » 

Revision 6950

vegbien_dest callers: Removed no longer needed explicit setting $prefix to "", because this is now the default value

View differences:

input.Makefile
237 237

  
238 238
cleanup = $(if $(wildcard $*/cleanup.sql),($(inDatasrc); cat $*/cleanup.sql)\
239 239
|"time" $(psqlNoSearchPath) --echo-all --set=table='"$*"' $(logInstall*Add),\
240
(prefix=; . $(bin)/vegbien_dest; unset schemas; env schema=$(datasrc) table=$*\
240
(. $(bin)/vegbien_dest; unset schemas; env schema=$(datasrc) table=$*\
241 241
$(bin)/csv2db) $(logInstall*Add))
242 242

  
243 243
define exportHeader
......
259 259
	$(if $(wildcard $*/postprocess.sql),($(inDatasrc); cat $*/postprocess.sql;)\
260 260
|"time" $(psqlNoSearchPath) --echo-all --set=table='"$*"' $(logInstall*Add))
261 261
define import_install_
262
(prefix=; . $(bin)/vegbien_dest; unset schemas; "time" nice -n +5\
262
(. $(bin)/vegbien_dest; unset schemas; "time" nice -n +5\
263 263
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs) $(logInstall*))
264 264
$(if $(filter $(srcTable),$*),($(inDatasrc);\
265 265
echo 'ALTER TABLE "$(datasrc)"."$*" RENAME row_num TO "$*.row_num";')|"time"\

Also available in: Unified diff