Skip site navigation (1) Skip section navigation (2)

pgsql: Correctly cast the return value of a CallableStatement when

From: jurka(at)svr1(dot)postgresql(dot)org (Kris Jurka)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Correctly cast the return value of a CallableStatement when
Date: 2004-10-21 19:13:55
Message-ID: 20041021191355.ECCF732A936@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2004-10-21 19:28:36
Subject: pgsql: Standardize on using the Min, Max, and Abs macros that are in our
Previous:From: User TomDate: 2004-10-21 17:39:39
Subject: pqa - pqa: New doc notes from Ben Walding

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group