unused columns in copy

Поиск
Список
Период
Сортировка
От chester c young
Тема unused columns in copy
Дата
Msg-id 471945.42509.qm@web54306.mail.re2.yahoo.com
обсуждение исходный текст
Ответы Re: unused columns in copy  (Marcin Stępnicki <mstepnicki@gmail.com>)
Список pgsql-sql
is there a way for COPY FROM to ignore unused columns in CSV?

in other words, if table t1 has columns c1, c2, and if csv has columns c1, c3, c2, could I do something like

COPY t1( c1, null, c2 ) FROM 'file.csv'

     


В списке pgsql-sql по дате отправления:

Предыдущее
От: chester c young
Дата:
Сообщение: how to tell if column set on update
Следующее
От: Andreas Wenk
Дата:
Сообщение: Re: Table inheritance problem