postgres csv output post