mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
back patching fix for compat 7.1 binary stream issues with the new protocol
added test for same
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Copyright (c) 2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/fastpath/Attic/Fastpath.java,v 1.16 2003/09/13 04:02:13 barry Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/fastpath/Attic/Fastpath.java,v 1.16.2.1 2003/12/17 15:48:39 davec Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -63,7 +63,7 @@ public class Fastpath
|
||||
*/
|
||||
public Object fastpath(int fnid, boolean resulttype, FastpathArg[] args) throws SQLException
|
||||
{
|
||||
if (conn.haveMinimumServerVersion("7.4")) {
|
||||
if (conn.haveMinimumCompatibleVersion("7.4")) {
|
||||
return fastpathV3(fnid, resulttype, args);
|
||||
} else {
|
||||
return fastpathV2(fnid, resulttype, args);
|
||||
|
Reference in New Issue
Block a user