Project

General

Profile

« Previous | Next » 

Revision 8118

inputs/input.Makefile: Staging tables installation: $(exportHeader): Fixed bug where need to use psql_script_vegbien instead of the psql_verbose_vegbien used by $(psqlAsBien), to avoid echoing commands as part of the exported header

View differences:

inputs/input.Makefile
244 244

  
245 245
define exportHeader
246 246
$(cleanup)
247
echo 'SELECT * FROM "$(datasrc)"."$*" LIMIT 0;'|$(psqlNoSearchPath) \
248
--no-align --field-separator=, --pset=footer=off >$*/header.csv
247
echo 'SELECT * FROM "$(datasrc)"."$*" LIMIT 0;'|env no_search_path=1\
248
$(bin)/psql_script_vegbien --no-align --field-separator=, --pset=footer=off\
249
>$*/header.csv
249 250
endef
250 251

  
251 252
# Don't try to edit a view. Must come before %/install to override it.

Also available in: Unified diff