Re: Split copy.c

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Split copy.c
Дата
Msg-id 20201102172305.lz6a4jdcgslho5kj@alap3.anarazel.de
обсуждение исходный текст
Ответ на Split copy.c  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Split copy.c
Список pgsql-hackers
Hi,

On 2020-11-02 11:03:29 +0200, Heikki Linnakangas wrote:
> While looking at the parallel copy patches, it started to annoy me how large
> copy.c is.

Agreed.


> There isn't much common code between COPY FROM and COPY TO, so I propose
> that we split copy.c into two: copyfrom.c and copyto.c. See attached. I thin
> that's much nicer.

Not quite convinced that's the right split - or perhaps there's just
more potential. My feeling is that splitting out all the DML related
code would make the code considerably easier to read.


Regards,

Andres



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Add table AM 'tid_visible'
Следующее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: [proposal] de-TOAST'ing using a iterator