Thanks. But also I want to use postgresql and gtk with python or with c. I
think, I need to make something like QSocketNotifier with callbacks instead
of signals/slots.
Well, why does libpq accumulate notifi and commit developer to create loop?
select()
PQconsumeInput(conn)
while ((notify = P
On Wed, Nov 10, 2010 at 5:20 PM, Tom Lane wrote:
> Not in libpq. libpq is just a passive library, it can't cause actions
> to happen when you aren't calling it. So there's no point in a
> callback: you might as well just test for occurrences of a NOTIFY at
> times when you're prepared to handle
On Nov 10, 2010, at 4:30 PM, Daniel Verite wrote:
> Filonenko Michael wrote:
>
>> I create simple mechanism to inform user about something in database
>> triggers. In my front-end I use PQsetNoticeReceiver, and display messages
>> in QTextEdit.
>> I think about multi-user environment.
Filonenko Michael wrote:
> I create simple mechanism to inform user about something in database
> triggers. In my front-end I use PQsetNoticeReceiver, and display messages
> in QTextEdit.
> I think about multi-user environment. I read about NOTIFY/LISTEN, but find
> no callback mecha
"Filonenko Michael" writes:
> I create simple mechanism to inform user about something in database
> triggers. In my front-end I use PQsetNoticeReceiver, and display messages
> in QTextEdit.
> I think about multi-user environment. I read about NOTIFY/LISTEN, but find
> no callback mechanism.
Hello.
I create simple mechanism to inform user about something in database
triggers. In my front-end I use PQsetNoticeReceiver, and display messages
in QTextEdit.
I think about multi-user environment. I read about NOTIFY/LISTEN, but find
no callback mechanism. Is it planning?
--
With be