Add checking in setMaxRows, setQueryTimeout, and setFetchSize - Mailing list pgsql-patches

From Kim Ho
Subject Add checking in setMaxRows, setQueryTimeout, and setFetchSize
Date
Msg-id 1056055967.13900.133.camel@topanga.toronto.redhat.com
Whole thread Raw
Responses Re: Add checking in setMaxRows, setQueryTimeout, and setFetchSize
List pgsql-patches
Problem:
 - If you try to setMaxRows(), setQueryTimeout() or setFetchSize()
to negative values, it should throw an exception, but doesn't. JDBC CTS
test failures.

Fix:
 - Added new error messages to errors.properties file.
 - PSQLExceptions thrown when user attempts to set negative values.

Cheers,

Kim



Attachment

pgsql-patches by date:

Previous
From: Kim Ho
Date:
Subject: Fix setObject() with java.sql.Types.Date/Time/Timestamp
Next
From: "Andrew Dunstan"
Date:
Subject: pg_hba.conf.sample