Revision 10248
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/table.run | ||
---|---|---|
42 | 42 |
subdir=. install_log="$top_dir/../$install_log_rel" table_make_install "$@" |
43 | 43 |
} |
44 | 44 |
|
45 |
postprocess_sql="$top_dir"/postprocess.sql |
|
46 |
|
|
45 | 47 |
map_table() |
46 | 48 |
# note that collisions may prevent all renames from being made at once. |
47 | 49 |
# if this is the case, run map_table repeatedly until no more renames are made: |
... | ... | |
74 | 76 |
postprocess() # overridable |
75 | 77 |
{ |
76 | 78 |
echo_func; set_make_vars |
77 |
local file="$top_dir"/postprocess.sql
|
|
79 |
local file="$postprocess_sql"
|
|
78 | 80 |
if test -e "$file"; then psql "$@"; fi |
79 | 81 |
} |
80 | 82 |
|
Also available in: Unified diff
lib/runscripts/table.run: added $postprocess_sql to store postprocess.sql path, and use it in postprocess()