summaryrefslogtreecommitdiff
path: root/src/interfaces/jdbc/org/postgresql/fastpath
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-07-04 15:09:54 +0000
committerBruce Momjian <bruce@momjian.us>2001-07-04 15:09:54 +0000
commit0e4d43f4593cda055d15641e0edce424b0b84fab (patch)
tree47d5298da37d1a43c1b27ccdedd36721073da2ec /src/interfaces/jdbc/org/postgresql/fastpath
parent5f5f8b97e2242255de436a2247b7face91a23c77 (diff)
The attached patch removes some old and dead code (and some related
misleading comments) from the PG_Stream class. Anders Bengtsson
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/fastpath')
-rw-r--r--src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java b/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
index 9e9b07f89be..4566f562d28 100644
--- a/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
+++ b/src/interfaces/jdbc/org/postgresql/fastpath/Fastpath.java
@@ -18,19 +18,6 @@ import org.postgresql.util.*;
*
* <p>It is based around the file src/interfaces/libpq/fe-exec.c
*
- *
- * <p><b>Implementation notes:</b>
- *
- * <p><b><em>Network protocol:</em></b>
- *
- * <p>The code within the backend reads integers in reverse.
- *
- * <p>There is work in progress to convert all of the protocol to
- * network order but it may not be there for v6.3
- *
- * <p>When fastpath switches, simply replace SendIntegerReverse() with
- * SendInteger()
- *
* @see org.postgresql.FastpathFastpathArg
* @see org.postgresql.LargeObject
*/
@@ -80,9 +67,7 @@ public class Fastpath
// that confuses the backend. The 0 terminates the command line.
stream.SendInteger(70,1);
stream.SendInteger(0,1);
-
- //stream.SendIntegerReverse(fnid,4);
- //stream.SendIntegerReverse(args.length,4);
+
stream.SendInteger(fnid,4);
stream.SendInteger(args.length,4);