pgsql: Correctly cast the return value of a CallableStatement when - Mailing list pgsql-committers

From jurka@svr1.postgresql.org (Kris Jurka)
Subject pgsql: Correctly cast the return value of a CallableStatement when
Date
Msg-id 20041021191355.ECCF732A936@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Correctly cast the return value of a CallableStatement when getShort
is called.  getByte presents a can't happen situation as no function
can return a TINYINT because pg doesn't have an equivalent type.
Make this throw an exception if we get to this point.

Thanks to Christian Niles.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/interfaces/jdbc/org/postgresql/jdbc1:
        AbstractJdbc1Statement.java (r1.41.2.7 -> r1.41.2.8)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java.diff?r1=1.41.2.7&r2=1.41.2.8)

pgsql-committers by date:

Previous
From: tom@pgfoundry.org (User Tom)
Date:
Subject: pqa - pqa: New doc notes from Ben Walding
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Standardize on using the Min, Max, and Abs macros that are in our