Re: logical column position

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: logical column position
Дата
Msg-id 8765hioncz.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: logical column position  (Jon Jensen <jon@endpoint.com>)
Ответы Re: logical column position
Список 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 по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: logical column position
Следующее
От: ohp@pyrenet.fr
Дата:
Сообщение: Connexions question