using insert with a postgresql database using python,conn.commit()