Revision 12743
Added by Aaron Marcuse-Kubitza almost 11 years ago
table.run | ||
---|---|---|
113 | 113 |
{ |
114 | 114 |
echo_func; set_make_vars |
115 | 115 |
local file="$postprocess_sql" |
116 |
if test -e "$file"; then psql "$@"; fi |
|
116 |
if test -e "$file"; then |
|
117 |
table_make "$(basename "$file")" # apply renames to SQL statements |
|
118 |
psql "$@" |
|
119 |
fi |
|
117 | 120 |
} |
118 | 121 |
|
119 | 122 |
mk_derived() |
Also available in: Unified diff
bugfix: lib/runscripts/table.run: custom_postprocess(): need to apply renames to SQL statements in postprocess.sql before it can be run