From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
Cc: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Removing support for COPY FROM STDIN in protocol version 2 |
Date: | 2021-02-03 17:53:12 |
Message-ID: | 3955612.1612374792@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Heikki Linnakangas <hlinnaka(at)iki(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2021-02-03 18:16:32 | Re: Key management with tests |
Previous Message | Guillaume Lelarge | 2021-02-03 17:42:11 | Re: Extensions not dumped when --schema is used |