Re: Removing support for COPY FROM STDIN in protocol version 2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Removing support for COPY FROM STDIN in protocol version 2
Date
Msg-id 3908079.1612368052@sss.pgh.pa.us
Whole thread Raw
In response to Removing support for COPY FROM STDIN in protocol version 2  (Heikki Linnakangas <hlinnaka@iki.fi>)
Responses Re: Removing support for COPY FROM STDIN in protocol version 2
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Removing support for COPY FROM STDIN in protocol version 2
Next
From: Tom Lane
Date:
Subject: Re: a curious case of force_parallel_mode = on with jit'ing