Terminate message doesn't have a trailing zero byte.

REL7_2_STABLE
Peter Eisentraut 25 years ago
parent e77aaade34
commit cff024120a
  1. 3
      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
}
}

Loading…
Cancel
Save