pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Christian Niles <christian@unit12.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: boolean and void CallableStatement return types
Date: Tue, 26 Oct 2004 12:19:07 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0410261217360.2019@leary.csoft.net> (raw)
In-Reply-To: <F495E5B1-2768-11D9-89C4-000A9590B78E@unit12.net>
References: <F495E5B1-2768-11D9-89C4-000A9590B78E@unit12.net>



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



view thread (2+ messages)

Message-ID: <Pine.BSO.4.56.0410261217360.2019@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0410261217360.2019@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0410261217360.2019@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, christian@unit12.net
  Subject: Re: boolean and void CallableStatement return types
  In-Reply-To: <Pine.BSO.4.56.0410261217360.2019@leary.csoft.net>
  References: <F495E5B1-2768-11D9-89C4-000A9590B78E@unit12.net> <Pine.BSO.4.56.0410261217360.2019@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox