Re: A method to asynchronously LISTEN ?

Поиск
Список
Период
Сортировка
От Philippe Ebersohl
Тема Re: A method to asynchronously LISTEN ?
Дата
Msg-id 1855336325.5176233.1551086100885.JavaMail.zimbra@dalim.com
обсуждение исходный текст
Ответ на Re: A method to asynchronously LISTEN ?  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
Hello Dave,

This is, sir, what we would like !

However looking at  line 47-50 of 

How do we guaranty that the listener is called before the assertTrue() is fired ?

stmt.executeUpdate("NOTIFY mynotification");


assertTrue(flag.get());

Best regards,
Philippe




From: "Dave Cramer" <pg@fastcrypt.com>
To: "Philippe Ebersohl" <philippe.ebersohl@dalim.com>
Cc: "List" <pgsql-jdbc@postgresql.org>
Sent: Friday, 22 February, 2019 20:03:46
Subject: Re: A method to asynchronously LISTEN ?

Hi Philippe,
So this is old, but I didn't get much response https://github.com/pgjdbc/pgjdbc/pull/579

have a look and see if it works for you. If so we can look at putting it in.

On Sat, 16 Feb 2019 at 03:36, Philippe Ebersohl <philippe.ebersohl@dalim.com> wrote:
Hello,
I checked the documentation and FAQ at jdbc.postgresql.org
Is there a roadmap of feature implementation for the jdbc driver ?

Are there plans to include something similar to the PGNotificationListener found in pgjdbc-ng?
Which does not require to send SELECT to the postgres.

We would if possible only use one postgresql jdbc driver.

I hope I hit the right list for my questions.
Thank you.

Best regards,
Philippe Ebersohl



(null)


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: [pgjdbc/pgjdbc] af8f88: Fix:save points causing server to run out ofresou...
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: A method to asynchronously LISTEN ?