Alvaro Herrera wrote:
> On Mon, Nov 10, 2003 at 04:51:53PM -0500, Bruce Momjian wrote:
> > Boris Popov wrote:
>
> > > I can do (listen "session:192.168.0.33:1.0.1";) and then just parse
> > > the relname from pg_listener to get the same effect, but you see why
> > > I'd like a different solution?
> >
> > Yes, I can see that being useful --- but I doubt we are going to modify
> > the db system to enable behavior for this case unless we can do it in an
> > area that doesn't make the db less useful for more general purposes.
>
> Probably having a disconnect callback could solve this problem.
> This is not the first time someone asks for this feature.
Actually, a connect/disconnection function call would be best. Is this
a TODO?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073