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 753013A4486 for ; Tue, 26 Oct 2004 18:19:13 +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 50769-02 for ; Tue, 26 Oct 2004 17:19:11 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 9B0BB3A3CF4 for ; Tue, 26 Oct 2004 18:19:08 +0100 (BST) Received: (qmail 28680 invoked by uid 1112); 26 Oct 2004 17:19:07 -0000 Date: Tue, 26 Oct 2004 12:19:07 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Christian Niles Cc: pgsql-jdbc@postgresql.org Subject: Re: boolean and void CallableStatement return types 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/272 X-Sequence-Number: 11377 On Tue, 26 Oct 2004, Christian Niles wrote: > If I define a function that returns a boolean value, the JDBC interface > throws an error because the reported return type is actually Types.BIT. > I noticed this was asked at least twice before, once a year ago, and > once again 2 years ago. No responses were given in the list, as far as > I could see. I've just commited a fix to the driver to make this work. > test=# SELECT * FROM void_func(); > ERROR: function "void_func" in FROM has unsupported return type > I submitted a patch a week ago or so that fixes this on the server side. It is in 8.0beta4. Kris Jurka