Re: START/END line number for COPY FROM

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: START/END line number for COPY FROM
Дата
Msg-id 6db582e8-2349-d322-aa36-fe654becbc31@2ndquadrant.com
обсуждение исходный текст
Ответ на START/END line number for COPY FROM  (Surafel Temesgen <surafel3000@gmail.com>)
Ответы Re: START/END line number for COPY FROM  (Surafel Temesgen <surafel3000@gmail.com>)
Список pgsql-hackers
On 20/12/2018 14:02, Surafel Temesgen wrote:
> 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.

It seems a bit fragile to me if I want to skip a footer and need to
figure out the total line count, subtract one, and then oh, was it zero-
or one-based.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fast path for empty relids in check_outerjoin_delay()
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: FETCH FIRST clause PERCENT option