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

From Alvaro Herrera
Subject Re: Removing support for COPY FROM STDIN in protocol version 2
Date
Msg-id 20210203160958.GA2341@alvherre.pgsql
Whole thread Raw
In response to Re: Removing support for COPY FROM STDIN in protocol version 2  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Removing support for COPY FROM STDIN in protocol version 2
List pgsql-hackers
On 2021-Feb-03, Tom Lane wrote:

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

2016:

commit c3d8571e53cc5b702dae2f832b02c872ad44c3b7
Author:     Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
AuthorDate: Sat Aug 6 12:22:17 2016 +0300
CommitDate: Sat Aug 13 11:27:16 2016 +0300

    fix: support cases when user-provided queries have 'returning'
    
    This change includes: drop v2 protocol support, and query parsing refactoring.
    Currently query parse cache is still per-connection, however "returningColumNames"
    are part of cache key, thus the parse cache can be made global.
    
    This fixes #488 (see org.postgresql.test.jdbc3.GeneratedKeysTest)

This commit does remove all files in
pgjdbc/src/main/java/org/postgresql/core/v2/, leaving only "v3/".

-- 
Álvaro Herrera       Valdivia, Chile
"Those who use electric razors are infidels destined to burn in hell while
we drink from rivers of beer, download free vids and mingle with naked
well shaved babes." (http://slashdot.org/comments.pl?sid=44793&cid=4647152)



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: a curious case of force_parallel_mode = on with jit'ing
Next
From: Daniel Gustafsson
Date:
Subject: Re: Online checksums patch - once again