pgsql-server/src/interfaces/jdbc/org/postgresq ... - Mailing list pgsql-committers

From jurka@svr1.postgresql.org (Kris Jurka)
Subject pgsql-server/src/interfaces/jdbc/org/postgresq ...
Date
Msg-id 20040203051356.6A23DD1D2E0@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    jurka@svr1.postgresql.org    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.


pgsql-committers by date:

Previous
From: jurka@svr1.postgresql.org (Kris Jurka)
Date:
Subject: pgsql-server/src/interfaces/jdbc/org/postgresq ...
Next
From: neilc@svr1.postgresql.org (Neil Conway)
Date:
Subject: pgsql-server/src/backend/utils/adt numeric.c