Subject RE: [ib-support] Firebird and wildcard events
Author Dmitry Yemanov
Hi Martijn,

> > Partially. I'm the one who's responsible for this piece of
> > code. The work is
> > 95% done, but there is still a couple of pending issues to be
> > solved, so the
> > code hasn't been commited to the CVS tree yet. I'm going to
> > complete it for
> > v1.5.
>
> ? Will there be a 1.5 version ? That's kinda new to me :)

AFAIK, the first-after-v1-and-based-on-the-firebird2-tree version will be
released as v1.5.

> > Yes, the registration is fully compatible with the current
> design. The
> > engine compares the actually posted events with the
> > registered masks and
> > delivers the actual events to all requesters.
>
> Just what I expected :)

Good.

> > With wildcarded events isc_event_counts() will return the summarized
> > information:
> >
> > uren.update.* = 7
> >
> > and new API call (let's name it isc_event_details) will
> > return something
> > like this:
> >
> > uren.update.10 = 2
> > uren.update.test = 1
> > uren.update.xx = 4
>
> Ah, ok - that makes sense.

Yes, I also think so ;-)

> > Since I haven't implemented this API routine yet, you're
> > welcome to discuss
> > it in the firebird-devel mailing list to find the most
> > appropriate solution
> > together.
>
> I'm not very much into the API and all. But I can discuss
> from a technical
> developer point of view.

Of course you can. So feel free to join any discussion you'll see about this
thread.

> > Please also note that this feature will be immediately
> > available only with
> > API level programming. AFAIR, Jason has shown an interest in
> > supporting this
>
> Very good - I'm using IBO most of the time :)

I believe FIBPlus will support the wildcarding stuff as well, although I
haven't contacted those guys yet. Maybe anyone of them is lurking here?

> > in IBO, but I'm afraid IBX users will never be able to use such an
> > improvement until we decide to provide a patch for every IBX
> > update released
> > by Jeff.
>
> IBX will be a problem indeed. Perhaps someone can take the
> time to transform
> IBX into FBX? (sorry, I don't)

Neither do I.

> I'll be monitoring firebird-devel for any threads about the issue...

I'm revisiting my code these days, so I do hope to be ready to publish it
and restart the discussion in a couple of weeks.

<a bit of self-criticism>
Hmmm, sounds familiar... Something similar I promised a long while ago. OK,
let's make the second attempt <g>.
</a bit of self-criticism>

Cheers,
Dmitry