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

Поиск
Список
Период
Сортировка
От etsuko shimabukuro
Тема Re: How do I capture the message from user defined function
Дата
Msg-id PCEJINOPBBELPMMMEOJPOEPPCAAA.etsukos@meta-bit.com
обсуждение исходный текст
Ответ на Re: How do I capture the message from user defined function  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: How do I capture the message from user defined function
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: How do I capture the message from user defined function