pgsql: Correctly cast the return value of a CallableStatement when

Поиск
Список
Период
Сортировка
От jurka@svr1.postgresql.org (Kris Jurka)
Тема pgsql: Correctly cast the return value of a CallableStatement when
Дата
Msg-id 20041021191355.ECCF732A936@svr1.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: tom@pgfoundry.org (User Tom)
Дата:
Сообщение: pqa - pqa: New doc notes from Ben Walding
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Standardize on using the Min, Max, and Abs macros that are in our