From 4e9dd952966b600951f05ab2913b5b97936d42ba Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Mon, 2 Feb 1998 13:17:01 +0000 Subject: From: Peter T Mount [This is a repost - it supercedes the previous one. It fixes the patch so it doesn't bread aix port, plus there's a file missing out of the original post because difforig doesn't pick up new files. It's now attached. peter] This patch brings the JDBC driver up to the current protocol spec. Basically, the backend now tells the driver what authentication scheme to use. The patch also fixes a performance problem with large objects. In the buffer manager, each fastpath call was sending multiple Notifications to the backend (sometimes more data in the form of notifications were being sent than blob data!). --- src/interfaces/jdbc/postgresql/fastpath/Fastpath.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/interfaces/jdbc/postgresql/fastpath/Fastpath.java') diff --git a/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java b/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java index ce278acef71..fdb68686554 100644 --- a/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java +++ b/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java @@ -75,8 +75,10 @@ public class Fastpath stream.SendInteger(70,1); stream.SendInteger(0,1); - stream.SendIntegerReverse(fnid,4); - stream.SendIntegerReverse(args.length,4); + //stream.SendIntegerReverse(fnid,4); + //stream.SendIntegerReverse(args.length,4); + stream.SendInteger(fnid,4); + stream.SendInteger(args.length,4); for(int i=0;i