Re: How do I capture the message from user defined function - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: How do I capture the message from user defined function
Date
Msg-id Pine.LNX.4.33.0302030157340.9706-100000@leary.csoft.net
Whole thread Raw
In response to How do I capture the message from user defined function  ("etsuko shimabukuro" <etsukos@meta-bit.com>)
Responses Re: How do I capture the message from user defined function  ("etsuko shimabukuro" <etsukos@meta-bit.com>)
List pgsql-jdbc
On Mon, 3 Feb 2003, etsuko shimabukuro wrote:
>
> I'm trying to get a message which has been raised within my user-defined
> function.
> The message is created by using "raise notice".  This message is not error
> so I'm using "notice" level.
>

Try using the getWarnings() method of the Connection object.

Kris Jurka




pgsql-jdbc by date:

Previous
From: "etsuko shimabukuro"
Date:
Subject: How do I capture the message from user defined function
Next
From: "etsuko shimabukuro"
Date:
Subject: Re: How do I capture the message from user defined function