Generate a PostgreSQL COPY command, optionally execute the statement if con is not NULL.
Useful links