Re: Callbacks for NOTIFY

From: Barry Lind <blind(at)xythos(dot)com>
To: Johann Uhrmann <johann(dot)uhrmann(at)xpecto(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Callbacks for NOTIFY
Date: 2003-08-28 17:37:17
Message-ID: 3F4E3DCD.3060203@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Johann,

I do not know of anyone else working on this, but this has come up a
couple of times in the past so I could be mistaken. You might want to
check the email archives.

I think this functionality would be an interesting addition to the
driver. So I encourage you to investigate if you have the interest.
Once you get a firm idea of what you want to do, I would suggest sending
your ideas/design to this list for feedback. Getting feedback early on
and working that feeback into your patch is the best way of insuring
that what you build can and will get incorporated.

Having said that, I think there are some real challenges in getting this
done due to how notifications are handled by the database. Specifically
how do you get the notifications to the client without having the
client poll the server for new notifications.

thanks,
--Barry

Johann Uhrmann wrote:
> Hello,
>
> is there some developing going on in order to allow
> applications to register callbacks for the NOTIFY command?
>
> If there isn't I will dig through the code and see whether
> I am able to develop a (more or less functional) patch.
>
> Is there a need for that kind of functionality and how are
> the chances that a patch like this will be included in
> the official distribution?
>
> Kind regards,
>
> Johann Uhrmann
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Scot P. Floess 2003-08-29 01:30:00 Re: Callbacks for NOTIFY
Previous Message Barry Lind 2003-08-28 17:30:30 Re: Help - lo_close: invalid large obj descriptor