| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера