Correctly cast the return value of a CallableStatement when getShort

Kris Jurka <books@ejurka.com>

Commit: d06384c6d75742f88d4b1e21e68b28dc71116320
Author: Kris Jurka <books@ejurka.com>
Date: 2004-10-21T19:13:55Z
Releases: 7.4.6
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.

Files