mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Terminate message doesn't have a trailing zero byte.
This commit is contained in:
parent
e77aaade34
commit
cff024120a
@ -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…
x
Reference in New Issue
Block a user