Re: Ragged CSV import

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ragged CSV import
Дата
Msg-id 6283.1252608562@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Ragged CSV import  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: Ragged CSV import  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> An easy fix for that is to allow this form of COPY to return text[]
>> instead of a fixed number of text columns.

> I'd like to see some concrete syntax suggestions for such an animal.

I think there were some in the previous discussion --- it came down
to using a SRF with arguments that specify the copy source and options.
Setting the result type as text[] instead of some has-to-be-specified
composite type should actually make it a bit easier.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: RfD: more powerful "any" types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Ragged CSV import