maybe this is a very stupid question.
I\'m using RPostgreSQL in R to upload a file to a database:
dbWriteTable(con, "table-1", data,overwrite=TRU