pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
Date: Wed, 03 Feb 2021 12:53:12 -0500
Message-ID: <3955612.1612374792@sss.pgh.pa.us> (raw)
In-Reply-To: <f69a7e6b-66f6-cbab-a414-ecc5c2127208@iki.fi>
References: <20210203160958.GA2341@alvherre.pgsql>
	<3921698.1612369777@sss.pgh.pa.us>
	<f69a7e6b-66f6-cbab-a414-ecc5c2127208@iki.fi>

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





view thread (22+ messages)  latest in thread

Message-ID: <3955612.1612374792@sss.pgh.pa.us>
Permalink:  ../3955612.1612374792@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3955612.1612374792@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hlinnaka@iki.fi, alvherre@alvh.no-ip.org
  Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
  In-Reply-To: <3955612.1612374792@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox