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

From etsuko shimabukuro
Subject Re: How do I capture the message from user defined function
Date
Msg-id PCEJINOPBBELPMMMEOJPOEPPCAAA.etsukos@meta-bit.com
Whole thread Raw
In response to Re: How do I capture the message from user defined function  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Dear Kris,

Thank you for your email.
I tried this getWarnings(), but it didn't capture the "notice" level of the
messages.

Regards,
Etsuko

-----Original Message-----
From: Kris Jurka [mailto:books@ejurka.com]
Sent: Monday, February 03, 2003 15:59
To: etsuko shimabukuro
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] How do I capture the message from user defined function



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: Kris Jurka
Date:
Subject: Re: How do I capture the message from user defined function
Next
From: Kris Jurka
Date:
Subject: Re: How do I capture the message from user defined function