aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interfaces/jdbc/org/postgresql/PG_Stream.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/PG_Stream.java b/src/interfaces/jdbc/org/postgresql/PG_Stream.java
index fb97d3a24b6..44d84a8e5a3 100644
--- a/src/interfaces/jdbc/org/postgresql/PG_Stream.java
+++ b/src/interfaces/jdbc/org/postgresql/PG_Stream.java
@@ -383,7 +383,7 @@ public class PG_Stream
*/
public void close() throws IOException
{
- pg_output.write("X\0".getBytes());
+ pg_output.write("X".getBytes());
pg_output.flush();
pg_output.close();
pg_input.close();
@@ -391,4 +391,3 @@ public class PG_Stream
}
}
-