Re: logical column position - Mailing list pgsql-hackers

From Neil Conway
Subject Re: logical column position
Date
Msg-id 8765hioncz.fsf@mailbox.samurai.com
Whole thread Raw
In response to Re: logical column position  (Jon Jensen <jon@endpoint.com>)
Responses Re: logical column position  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Jon Jensen <jon@endpoint.com> writes:
> You're just saying it'd break old dumps, right? I'd assume COPY FROM
> would use attpos ordering when writing out columns, or that every
> user-visible interaction with the table pretends the columns are in
> attpos order. So dumps would break no more or less than when adding
> or dropping a column currently, right?

Right -- AFAICS, the only change in COPY compatibility would be if you
COPY TO'd a table and then changed the logical column order in some
fashion, you would no longer be able to restore the dump (unless you
specified a column list for the COPY FROM -- which, btw, pg_dump
does). I don't think it will be a problem, I just thought I'd mention
it.

-Neil



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: logical column position
Next
From: ohp@pyrenet.fr
Date:
Subject: Connexions question