nakagami / firebirdsql

Firebird RDBMS sql driver for Go (golang)
MIT License
227 stars 60 forks source link

Firebird Events #34

Closed arteev closed 4 years ago

arteev commented 8 years ago

Hi there!

Is it possible to implement Firebird Events??

nakagami commented 8 years ago

No

Because golang sql package interface is not support event.

heri16 commented 7 years ago

I think this issue would be reopened. Events could be supported.

nakagami commented 7 years ago

I see, reopened.

I want someone's proposal about event support functions specs.

heri16 commented 7 years ago

I suggest the idiomatic way: registering go channels using addFBEvent(name) (inspired by: https://github.com/xdenser/node-firebird-libfbclient)

Or better still a way to capture all firebird events into a single channel regardless the event name (however, I am not sure the underlying protocol allows for wildcards). This would be useful when trying to forward all fb events to another library like https://github.com/zeromq/goczmq

iambudi commented 6 years ago

Any update about this?

nakagami commented 6 years ago

No I do'nt have good design interface. Go does not have standard interface abount event notification.

I hope someones pull request

jacobalberty commented 4 years ago

Just to provide some documentation about the events protocol https://github.com/hgourvest/node-firebird/files/737620/FirebirdWireProtocol.pdf provides some documentation on the wire protocol for events. It is something I would like to look into implementing but in case I never get around to it I thought I should provide the documentation I'm using here.

arteev commented 4 years ago

I am doing a Firebird Event implementation. Remained architecture design and tests. I will make a merge request soon.