a trick With pgadminIII preference>result grid> * no quote * separator `||` * use column name change to separator tab and quote to export to excel