cursorObj.copy_from(bufferFile, 'myBigTable', columns=('idNumber',
    'date_obs', 'value', 'user'))
cursorObj.connection.commit()
bufferFile.close()
bufferFile = StringIO.StringIO()
return bufferFile
Python-PostgreSQL psycopg2 interface --> executemany