X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8B5E3329FB2 for ; Thu, 21 Oct 2004 20:00:29 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 27454-01 for ; Thu, 21 Oct 2004 19:00:14 +0000 (GMT) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id A1B42329F6B for ; Thu, 21 Oct 2004 20:00:15 +0100 (BST) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by www.postgresql.com (Postfix) with SMTP id AB10F5A1C47 for ; Thu, 21 Oct 2004 20:00:07 +0100 (BST) Received: (qmail 6817 invoked by uid 1112); 21 Oct 2004 18:59:54 -0000 Date: Thu, 21 Oct 2004 13:59:54 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Christian Niles Cc: pgsql-jdbc@postgresql.org Subject: Re: Calling functions with smallint fails In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/222 X-Sequence-Number: 11327 On Thu, 21 Oct 2004, Christian Niles wrote: > > From a basic examination of the code, it seems that setShort(int, > short) simply serializes the value to a string, making it > indistinguishable from an integer. This has been fixed in the 8.0 driver series as all calls are now strongly typed. Kris Jurka