Issue #16: Add UTF8 encoding

Signed-off-by: Lucas Fernandes de Oliveira's avatarLucas Fernandes de Oliveira <lfoliveira@inf.ufpr.br>
parent 6544c302
Pipeline #21073 failed with stage
in 1 minute and 1 second
......@@ -141,3 +141,13 @@ cpyComand() {
echo "COPY OFFSET 2 INTO \"$table\" FROM '$file' ON CLIENT USING DELIMITERS ';','\\n','\"' NULL AS '';"
fi
}
# Creates the DROP TABLE statement
dropComand() {
table=${1:-""}
if [[ $DBMS == "psql" ]]; then
echo "DROP IF EXISTS TABLE \"$table\" CASCADE;"
elif [[ $DBMS == "monet" ]]; then
echo "DROP TABLE \"$table\" CASCADE;"
fi
}
......@@ -32,8 +32,3 @@ dropDB() {
return $error
}
# Creates the DROP TABLE statement
dropComand() {
table=${1:-""}
echo "DROP TABLE \"$table\" CASCADE;"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment