Revision 10371
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/runscripts/table.run | ||
---|---|---|
103 | 103 |
table_make_install ${_remake:+re}install # just the table |
104 | 104 |
} |
105 | 105 |
|
106 |
trim_table() |
|
107 |
{ |
|
108 |
echo_func; set_make_vars |
|
109 |
if test "$is_view"; then return 0; fi # do not modify view columns |
|
110 |
psql <<EOF |
|
111 |
SELECT util.trim('"$table"', '$map_table') |
|
112 |
EOF |
|
113 |
} |
|
114 |
|
|
106 | 115 |
postprocess() |
107 | 116 |
{ |
108 | 117 |
echo_func; set_make_vars |
Also available in: Unified diff
lib/runscripts/table.run: added trim_table(), which calls util.trim(regclass, regclass)