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 3955612.1612374792@sss.pgh.pa.us
Whole thread Raw
In response to Re: Removing support for COPY FROM STDIN in protocol version 2  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> Since we're on a removal-spree, it'd also be nice to get rid of the 
> "fast-path" function call interface, PQfn(). However, libpq is using it 
> internally in the lo_*() functions, so if we remove it from the server, 
> lo_*() will stop working with old libpq versions. It would be good to 
> change those functions now to use PQexecParams() instead, so that we 
> could remove the fast-path server support in the future.

I'm disinclined to touch that.  It is considered part of protocol v3,
and there is no very good reason to suppose that nothing but libpq
is using it.  Besides, what would it really save?  fastpath.c has
not been a source of maintenance problems.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Extensions not dumped when --schema is used
Next
From: Bruce Momjian
Date:
Subject: Re: Key management with tests