Re: getting async raise notice messages - Mailing list pgsql-jdbc

From Pawel Veselov
Subject Re: getting async raise notice messages
Date
Msg-id CAMnJ+Bd5i1GKvF+ZXy27G7kQJdHRk2TNvSER-Oxn-VyVZAZDOA@mail.gmail.com
Whole thread Raw
In response to Re: getting async raise notice messages  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: getting async raise notice messages  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Dave,

On Mon, Jan 26, 2015 at 2:38 PM, Dave Cramer <pg@fastcrypt.com> wrote:

Dave Cramer

I've seen that :) May be I'm missing something, but that's not asynchronous. I need to wait until statement finishes before calling those getWarnings() methods. May be I can call them from another thread (at least on Connection/Statement object) as the SQL is being processed, and they will return current messages, but I'm not sure when to - i.e. how do I know when a new message has been made available.
 
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 26 January 2015 at 17:06, Pawel Veselov <pawel.veselov@gmail.com> wrote:
Hi.

Is it possible to get output of raise notice statements as produced by a PL function, as the function is being executed? And if yes, what version was that introduced in?

 

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: getting async raise notice messages
Next
From: Dave Cramer
Date:
Subject: Re: getting async raise notice messages