Re: START/END line number for COPY FROM

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: START/END line number for COPY FROM
Дата
Msg-id 0d61a3fe-abaf-edd4-60b5-ca54b1678105@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: START/END line number for COPY FROM  (Surafel Temesgen <surafel3000@gmail.com>)
Список pgsql-hackers
On 06/01/2019 12:59, Surafel Temesgen wrote:
> it is not always the case to have in control of the data importing it
> may came from
> external system

But the problem that David described remains:  If your data loading
requirement is so complicated that you need to load the file in chunks,
then doing it by line numbers will require you to skip over the leading
lines at every subsequent chunk.  That's not going to be good for larger
files.

I think your problem needs a different solution.

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


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Using logical replication with older version subscribers
Следующее
От: Adrien NAYRAT
Дата:
Сообщение: Re: [Proposal] Add accumulated statistics