diff --git a/pgpool/bin/pgpool_generate_black_function_list b/pgpool/bin/pgpool_generate_black_function_list index 4b339bc2c13ca3d5fe357b318b97e9cace347347..82e0b12aed7f928f3233e9ec213177db2ae40dca 100755 --- a/pgpool/bin/pgpool_generate_black_function_list +++ b/pgpool/bin/pgpool_generate_black_function_list @@ -8,4 +8,6 @@ for (( i = 0; i < ${#databases[*]}; i++)); do pg_black_function_list localhost ${databases[$i]} >> /tmp/pgpool_black_function_list.tmp done -echo "black_function_list = '$(cat /tmp/pgpool_black_function_list.tmp)'" > /etc/pgpool-II/pgpool.conf +echo "black_function_list = '$(cat /tmp/pgpool_black_function_list.tmp)'" >> /etc/pgpool-II/pgpool.conf + +rm -rf /tmp/pgpool_black_function_list.tmp