mirror of
https://github.com/postgres/postgres.git
synced 2026-03-24 11:23:46 -04:00
Terminate message doesn't have a trailing zero byte.
This commit is contained in:
parent
e77aaade34
commit
cff024120a
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Reference in a new issue