Re: Removing support for COPY FROM STDIN in protocol version 2
От | Alvaro Herrera |
---|---|
Тема | Re: Removing support for COPY FROM STDIN in protocol version 2 |
Дата | |
Msg-id | 20210203160958.GA2341@alvherre.pgsql обсуждение исходный текст |
Ответ на | Re: Removing support for COPY FROM STDIN in protocol version 2 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Removing support for COPY FROM STDIN in protocol version 2
|
Список | 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 по дате отправления: