Re: START/END line number for COPY FROM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: START/END line number for COPY FROM
Дата
Msg-id 27439.1545409274@sss.pgh.pa.us
обсуждение исходный текст
Ответ на START/END line number for COPY FROM  (Surafel Temesgen <surafel3000@gmail.com>)
Список pgsql-hackers
Surafel Temesgen <surafel3000@gmail.com> writes:
> Currently we can skip header line on COPY FROM but having the ability to
> skip and stop copying at any line can use to divide long copy operation and
> enable to copy a subset of the file and skipping footer. Attach is a patch
> for it

I do not think this is a good idea.  We have resisted attempts to add
ETL-like features to COPY on the grounds that it would add complexity
and cost performance, and that that's not what COPY is for.   This
seems to fall squarely in the domain of something you should be doing
with another tool.

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Check for conflicting queries during replay ofgistvacuumpage()
Следующее
От: Robert Haas
Дата:
Сообщение: Re: ATTACH/DETACH PARTITION CONCURRENTLY