Re: How do I capture the message from user defined function

From: Kris Jurka <books(at)ejurka(dot)com>
To: etsuko shimabukuro <etsukos(at)meta-bit(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: How do I capture the message from user defined function
Date: 2003-02-03 06:58:47
Message-ID: Pine.LNX.4.33.0302030157340.9706-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message etsuko shimabukuro 2003-02-03 07:09:53 Re: How do I capture the message from user defined function
Previous Message etsuko shimabukuro 2003-02-03 06:39:01 How do I capture the message from user defined function