Re: Nasty, propagating POLA violation in COPY CSV HEADER

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Nasty, propagating POLA violation in COPY CSV HEADER
Дата
Msg-id 4FE200D4.9050706@dunslane.net
обсуждение исходный текст
Ответ на Re: Nasty, propagating POLA violation in COPY CSV HEADER  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: Nasty, propagating POLA violation in COPY CSV HEADER  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers

On 06/20/2012 12:50 PM, Alvaro Herrera wrote:
> Another related case: you have a file with headers and columns (n, t, 
> x, y, z) but your table only has n and t. How would you tell COPY to 
> discard the junk columns? Currently it just complains that they are 
> there. 


That's one of the main use cases for file_text_array_fdw.

cheers

andrew


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Nasty, propagating POLA violation in COPY CSV HEADER
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [PATCH 10/16] Introduce the concept that wal has a 'origin' node