Re: Ragged CSV import

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ragged CSV import
Дата
Msg-id 22797.1252590984@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Ragged CSV import  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: Ragged CSV import  (Robert Haas <robertmhaas@gmail.com>)
Re: Ragged CSV import  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Dimitri Fontaine <dfontaine@hi-media.com> writes:
> Last time we opened this can of worms here's what it lead us to:
>   http://archives.postgresql.org/pgsql-hackers/2008-04/msg00222.php

Right, that's the discussion I was remembering.

> As already said by Andrew on IRC, though, this goes nowhere to help him
> address his direct concern, COPY would still choke on input lines that
> are containing too few or too many columns...

An easy fix for that is to allow this form of COPY to return text[]
instead of a fixed number of text columns.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Ragged CSV import
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Ragged CSV import