summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java
diff options
context:
space:
mode:
authorBruce Momjian1999-01-17 04:51:59 +0000
committerBruce Momjian1999-01-17 04:51:59 +0000
commit298682d9e0b0ec55d5f72cec1f4d43c23f2a1ac6 (patch)
tree57f9d4552366b3f9fe9552aafe47505ff61b14ac /src/interfaces/jdbc/postgresql/fastpath/Fastpath.java
parent4a6285ee445efc13f0e726be1629762ff366e602 (diff)
As the email posted to the announce and interfaces list, attached is a tar
file containing the latest version of the JDBC driver, allowing it to be compiled and used under JDK 1.2 and later. NB: None (well almost none) of the new methods actually do anything. This release only handles getting it to compile and run. Now this is done, I'll start working on implementing the new stuff. Now this tar file replaces everything under src/interfaces/jdbc. I had to do it this way, rather than diffs, because most of the classes under the postgresql subdirectory have moved to a new directory under that one, to enable the support of the two JDBC standards. Here's a list of files in the tar file. Any file not listed here (in the postgresql directory) will have to be deleted, otherwise it could cause the driver to fail: Peter Mount
Diffstat (limited to 'src/interfaces/jdbc/postgresql/fastpath/Fastpath.java')
-rw-r--r--src/interfaces/jdbc/postgresql/fastpath/Fastpath.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java b/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java
index ab702f457f2..232f8f02485 100644
--- a/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java
+++ b/src/interfaces/jdbc/postgresql/fastpath/Fastpath.java
@@ -7,6 +7,9 @@ import java.util.*;
import java.sql.*;
import postgresql.util.*;
+// Important: There are a lot of debug code commented out. Please do not
+// delete these.
+
/**
* This class implements the Fastpath api.
*
@@ -54,7 +57,7 @@ public class Fastpath
{
this.conn=conn;
this.stream=stream;
- DriverManager.println("Fastpath initialised");
+ //DriverManager.println("Fastpath initialised");
}
/**
@@ -109,7 +112,7 @@ public class Fastpath
Object result = null; // our result
while(true) {
int in = stream.ReceiveChar();
- DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'");
+ //DriverManager.println("ReceiveChar() = "+in+" '"+((char)in)+"'");
switch(in)
{
case 'V':
@@ -120,7 +123,7 @@ public class Fastpath
//
case 'G':
int sz = stream.ReceiveIntegerR(4);
- DriverManager.println("G: size="+sz); //debug
+ //DriverManager.println("G: size="+sz); //debug
// Return an Integer if
if(resulttype)
@@ -149,7 +152,7 @@ public class Fastpath
// Here we simply return res, which would contain the result
// processed earlier. If no result, this already contains null
case '0':
- DriverManager.println("returning "+result);
+ //DriverManager.println("returning "+result);
return result;
default:
@@ -181,7 +184,7 @@ public class Fastpath
*/
public Object fastpath(String name,boolean resulttype,FastpathArg[] args) throws SQLException
{
- DriverManager.println("Fastpath: calling "+name);
+ //DriverManager.println("Fastpath: calling "+name);
return fastpath(getID(name),resulttype,args);
}