Re: [BUGS] JDBC Large Object getBinaryStream returns -1 before EOF

2001-08-18 Thread Akira Kumakiri
Oops, sorry. Red Hat Linux 6.2J (Japanese); that's the reason why added >java lobtest -s guessed encoding caused this error... Postgresql-7.1.2 (not RPM, separately installed one.) $ ./configure --enable-multibyte=EUC_JP --with-java are used. jdk1.2.2 Intel Pentium-2 processor - Original

[BUGS] JDBC Large Object getBinaryStream returns -1 before EOF

2001-08-18 Thread Akira Kumakiri
Hi, I'm making some code handling several kinds of files as large object. I found the JDBC driver returned without finish reading the file. I made the test program named lobtest.java, which is added at the end of this mail. This test program read a file (default is "tomcat.gif" which is fetched