Re: Removing support for COPY FROM STDIN in protocol version 2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Removing support for COPY FROM STDIN in protocol version 2
Дата
Msg-id 3908079.1612368052@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Removing support for COPY FROM STDIN in protocol version 2  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Removing support for COPY FROM STDIN in protocol version 2
Список pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> I propose that we remove server support for COPY FROM STDIN with 
> protocol version 2, per attached patch. Even if we could still support 
> it, it would be a very rarely used and tested codepath, prone to bugs. 
> Perhaps we could remove support for the old protocol altogether, but I'm 
> not proposing that we go that far just yet.

I'm not really on board with half-baked removal of protocol 2.
If we're going to kill it we should just kill it altogether.
(The argument that it's untested surely applies to the rest
of the P2 code as well.)

I have a vague recollection that JDBC users still like to use
protocol 2 for some reason --- is that out of date?

            regards, tom lane



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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Removing support for COPY FROM STDIN in protocol version 2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: a curious case of force_parallel_mode = on with jit'ing