Revision 10250
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/table.run | ||
---|---|---|
55 | 55 |
# input columns in map.csv). |
56 | 56 |
{ |
57 | 57 |
echo_func; set_make_vars |
58 |
if test "$is_view"; then return 0; fi # do not rename view columns |
|
59 |
|
|
58 | 60 |
table_make map.csv |
59 | 61 |
local map_table="\"~$table.map\"" # sort after other tables to avoid clutter |
60 | 62 |
psql <<EOF |
Also available in: Unified diff
bugfix: lib/runscripts/table.run: map_table(): do not rename view columns, since their column names come from their (column-renamed) joined tables rather than from a map.csv. header.csv, map.csv for views will generally become out-of-date whenever the joined tables change, so it is better not to generate them at all.