CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       04/02/03 01:13:56

Modified files:
        src/interfaces/jdbc/org/postgresql/jdbc1: Tag: REL7_4_STABLE 
                                                  AbstractJdbc1Statement.java 
        src/interfaces/jdbc/org/postgresql/test/jdbc2: Tag: 
                                                       REL7_4_STABLE 
                                                       Jdbc2TestSuite.java 
Added files:
        src/interfaces/jdbc/org/postgresql/test/jdbc2: Tag: 
                                                       REL7_4_STABLE 
                                                       PreparedStatementTest.java 

Log message:
        Fix the setXXXStream methods.  If passed a null InputStream, convert
        this to a setNull call.  The code originally would try to read the
        whole stream in one call to read(), but this doesn't work.  The
        InputStream API makes it clear you must be prepared to loop and
        continue reading if you didn't get the whole request on the first
        try.
        
        Per report from Martin Holz.


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to