This is a simple script that conect to a PostgreSQL database, and save the select result at a csv file. The scrtp uses the COPY to create the file from the data stream, saving memory during the ...