Andres Freund <and...@anarazel.de> writes: > Given that pg_dump already re-orders the columns for DDL, could we make > it apply that re-ordering not just during the CREATE TABLE, but also > when dumping the table contents?
Hm, possibly. I think when this was last looked at, we didn't have any way to get COPY to output the columns in non-physical order, but now we do. regards, tom lane